Comments (6)
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.
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.
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.
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.
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.
from platform.
Related Issues (20)
- logo proposal HOT 1
- switch out favicons & avatars
- Dependabot can't resolve your JavaScript dependency files
- question: dataset/place schema HOT 3
- layerGroups popupContent popup(s) not closing on layergroup toggle-off HOT 7
- Updates to support Argentina 2.0
- allow anonymous user to support(like) a place via support-button HOT 4
- Localization system for JSX-based content HOT 1
- Stable URL model HOT 1
- [React] editor form field initialization bug
- Modal info windows
- Hidden form fields and basic form field triggering
- Read-only database config rough spec
- Quill bugs HOT 1
- Keyboard shortcuts
- Create a Form abstraction
- Be smarter about Mapbox layer creation for GeoJSON sources
- Support one-to-many form field relationships
- Help Wanted HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from platform.