Working on an OpenStreetMap implementation...
One of the, very annoying constraints is the max-zoom level has to be locked at 11
But I would need to be able to somehow force the map to display the village labels that only appear at zoom level 12 and 13.
Tried playing around with MapBox but that did not do the trick...
Can anyone tell me if there is a way to get this done ?
Thanks a lot in advance
dgoosens
Related
I am using Mapbox studio.
I use the default OSM road data.
If I zoom in at level 10 I only see major roads.
At zoom level 11 then suddenly lots of smaller roads appear.
I would like to show these roads at a later zoom level. I want to move everything one zoom level behind, so the small roads would show up at level 12.
How can I do that? I can not figure it out.
Thank you
You can change the layers' zoom extent. select or filter layers and move the "Select data" tab on the styling pannel.
Then, swipe the Min slider.
I use the Leaflet plug-in "Leaflet.ImageOverlay.Rotated.js" to use its L.imageOverlay.rotated(...) thing in order to overlay certain map pieces in various places on top of the normal map.
It does this by taking an image and having me tell it its top-left, top-right and bottom-left coordinates to figure out how to rotate, tilt and stretch/squeeze it properly.
It took me a very long time to figure these coordinates out by hand. For this reason, I'm looking for some sort of "geopositioning mode", perhaps enabled by this extension, which would simply let me click three times on the map to tell it where these points go. That would be so simple for the developers to do and would help so much. It's such an obvious thing to do that I strongly suspect it's already implemented and ready.
Is there such a "mode"? If not, how am I expected to find the positions without spending so much time and trial-and-error as I did for the first overlay map image?
Added: I should also clarify that the image should be shown in this mode so that you can re-adjust the points and watch in real time as the image bends/warps, to get it just right.
you can develop a modul for this problem.
find minimum 4 point on raster map.
click on tilemap for 4 points
than find different slope and distance same 2 points.
maybe you must rotate and use affine transformation.
I spent many hours on it but not getting any fruitful response.I am trying to increasing the size of overlay icon when map is zoom but its not work, I am new on this please help on this
Yes it is, however you have to do the work. Basically, you need to create an MapView.onChangeListener and register it. When the zoom level changes, you need to iterate though your overlays and replace the icon with one of a different size.
At some point in your travels, you'll probably figure out that there will be concurrency/inconsistency issues with over zealous zoomers and panners. To handle this, you can wait until after the user stops scrolling or zooming after a period of time, then do the work.
I am creating an application using MapBox.js, I would like to display all place names at Zoom Level 13 in MapBox Streets but some place names only will display at Level 14. Does anyone know if it is possible to change this preset on MB Streets without having access to their Style Sheets?
This is not possible at this time as this is pretty much burned into the streets layer (streets, streetnames, and place names). If you want further customization, I would suggest looking into TileMill and using something like the OSM Bright Quickstart to make custom basemaps.
I've just found this for doing this on the Android but has anyone got this to work on the iPhone?
What I'm looking for is a method that will zoom the map to show all pins that are showing...
Thanks
I'm not sure if there's a built in method, but the usual way is to loop through your annotations, looking at their coordinates, and find the maximum and minimum latitudes and longitudes. You'll end up with 4 numbers, you can create a region from them and set the map to that region.
Here is the solution! :)
http://sdhillon.com/find-the-center-and-span-of-a-set-of-points-android-and-iphone-example/