Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSM layers not visible at max zoom level #2256

Closed
simod opened this issue Aug 28, 2015 · 11 comments
Closed

OSM layers not visible at max zoom level #2256

simod opened this issue Aug 28, 2015 · 11 comments
Milestone

Comments

@simod
Copy link
Member

simod commented Aug 28, 2015

There are served by OSM but geoexplorer does not requests them at the max zoom level. Bing layer is ok. @bartvde any hints?

@bartvde
Copy link

bartvde commented Aug 28, 2015

what is the number of zoom level in this case?

@bartvde
Copy link

bartvde commented Aug 28, 2015

Ah I see what you mean on: http://suite.opengeo.org/geoexplorer/composer/

zoom level 19 grayed out for OSM

@simod
Copy link
Member Author

simod commented Aug 28, 2015

yes :)

@simod
Copy link
Member Author

simod commented Aug 28, 2015

any way to configure it through the settings? https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L613

@bartvde
Copy link

bartvde commented Aug 28, 2015

I don't think it can be currently configured, can you trying changing this to 20? It worked for me:

https://github.com/boundlessgeo/gxp/blob/master/src/script/plugins/OSMSource.js#L93

PR welcome ofcourse.

@simod
Copy link
Member Author

simod commented Aug 28, 2015

yes it works :) thanks

@jj0hns0n jj0hns0n modified the milestone: 2.5.x Nov 18, 2015
@jj0hns0n
Copy link
Contributor

@simod @bartvde can we close this now?

@capooti
Copy link
Member

capooti commented Nov 18, 2015

I think yes, as per #2346

@jj0hns0n jj0hns0n modified the milestones: 2.4, 2.5 Nov 18, 2015
@bfg9000it
Copy link

I'm still in the problem.
My geonode 2.4 installation has the same problem in the viewer when it shows public openstreetmap server or my internal OSMbright tile server (ZoomLevel 19: scale 1:1066)
I do not understand where I can change "numZoomLevels" setting because I have no OSMSource.js here.
Actually I can't upgrade to 2.6 version: in the meantime it is possible to have a workaround?

@simod
Copy link
Member Author

simod commented Sep 27, 2017

Hi, you can add the property in this file. https://github.com/GeoNode/geonode/blob/master/geonode/maps/templates/maps/map_geoexplorer.js
hope it helps

@bfg9000it
Copy link

Hi, I've inserted "numZoomLevels: 19", 20 or other numbers before "listeners" and after csrfToken but without any visible change. There are always 20 levels starting from the first 1:1066.
I really do not understand where is defined the number of zoom levels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants