GithubHelp home page GithubHelp logo

Comments (6)

reterraform avatar reterraform commented on August 25, 2024

I checked several Mapseed sites & see that, with exception of Hey Duwamish, they all navigate to a page on initial site load, though I have no idea whether the (my?) tile loading issue is at all a factor in that choice or, rather, it's purely a design/functionality decision. In any case, I'm going to test navigating to my About page on site load as well, so I'll at least have that option if I can't find a solution to this issue. Related question: where might the landing page redirect be set?

Thanks again!

update: I tested having anonymous "create" permissions on so the Add Report button shows, & that also allows tiles to load at < 950px on initial site load; this is consistent w/ Hey Duwamish, but not sure that explains my loading issue ; anyway, will look at options re this situation as well..

from platform.

goldpbear avatar goldpbear commented on August 25, 2024

Ah, interesting-- I've been testing a bit but so far can't reproduce the tile loading issue. Though we did have an issue a while back that was similar to what you describe, so I'll keep trying to repro it. Which tileset is causing this on your end?

To configure a landing page, you can do this with the start_page: true flag in the nav_bar section for the page you want to show up, e.g.: https://github.com/mapseed/platform/blob/master/src/flavors/pugetsound/config.json#L1085

from platform.

reterraform avatar reterraform commented on August 25, 2024

thanks for that info!

update: I tested having anonymous "create" permissions on so the Add Report button shows, & that also allows tiles to load at < 950px on initial site load; this is consistent w/ Hey Duwamish, but not sure that explains my loading issue ; anyway, will look at options re this situation as well..

from platform.

reterraform avatar reterraform commented on August 25, 2024

found the issue; apparent typo line 79 of src/base/static/utils/layout-utils.js

if I'm correct:

return clac(100% - ${constants.HEADER_HEIGHT}px);

clac( should read calc(

edited this in my code & map tiles now load fine in mobile & desktop, consistently

from platform.

goldpbear avatar goldpbear commented on August 25, 2024

Ah, excellent! Thanks for tracking this down. I think we must have had an untested map configuration and this error slipped through.

I you like, feel free to open a PR to the master branch with the fix, otherwise I'm happy to patch this.

Thanks again!

from platform.

reterraform avatar reterraform commented on August 25, 2024

from platform.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.