cloudmade

multiple marker on exact same position on a leaflet map

你离开我真会死。 提交于 2019-12-06 20:20:43
问题 We use leafletJS to show maps with round about 100 markers. Some of these markers are located on exact the same position. Marker2 is above Marker1 so Marker1 isn't visible. Is there a way to rotate Markers in a way that you can see there are more then one marker? 回答1: may be you should look at https://github.com/Leaflet/Leaflet.markercluster plugin here demo - http://leaflet.github.io/Leaflet.markercluster/example/marker-clustering-realworld.388.html 回答2: we had the same problem, follows the

multiple marker on exact same position on a leaflet map

落花浮王杯 提交于 2019-12-05 01:18:19
We use leafletJS to show maps with round about 100 markers. Some of these markers are located on exact the same position. Marker2 is above Marker1 so Marker1 isn't visible. Is there a way to rotate Markers in a way that you can see there are more then one marker? may be you should look at https://github.com/Leaflet/Leaflet.markercluster plugin here demo - http://leaflet.github.io/Leaflet.markercluster/example/marker-clustering-realworld.388.html we had the same problem, follows the jsFiddle with the solution we found http://jsfiddle.net/atma_tecnologia/mgkuq0gf/2/ var marker1 = new google.maps

What SDKs can be used for creating offline maps application for iPad/iPhone?

纵然是瞬间 提交于 2019-11-30 12:18:50
问题 we are developing an offline city map application for iPad, using Cloudmade SDKs. I'm curious, is there are any other SDKs which could be used for offline applications ? 回答1: The better solution for me is: 1.- Generate your own maps with TileMill from Mapbox and then export to MBTiles format. 2.- Get the mapbox-ios-example and use the MBTiles file you just generated. 回答2: Starting with April, 2014 there is also skobbler's /Telenav's SDK - it's got full offline capabilities (map rendering,

Custom map style in MapKit

左心房为你撑大大i 提交于 2019-11-29 23:18:31
I am looking for a way to implement a custom map style in iOS 7, just like you can do with Google Maps . I have found some posts saying that this is not possible with MapKit, but they are all posted a while back. To clarify, by style I am talking about custom colors and preferably also fonts. Example of custom Google Map style below. (source: servendesign.com ) I would really prefer using MapKit for performance reasons, but if it is not supported I am open to using other frameworks as well. The ones that I have seen are MapBox and Cloudmade, and of course the Google Maps SDK. Is there a way of

How to use Offline Cloudmade Maps in an iPhone App

╄→尐↘猪︶ㄣ 提交于 2019-11-29 07:53:51
I’ve looked through the posts on the Cloudmade site here and I get some of it, but not all. I've posted the question below, but haven't had the help I need, so I thought I'd ask the question here. I can see that I need to: download the tiles for the required area to my Mac (but can’t see how to do this) convert these to a sqlite database using the map2sqlite utility, changing the code to output the tiles to a table called “ZCACHE”, not “tiles” Copy the DB to the Application Bundle insert some code to copy this DB on first run, from the Application Bundle to the Documents Directory Somehow get

Min/max zoom level in OpenLayers

泄露秘密 提交于 2019-11-28 09:02:49
I'm using OpenLayers to display a map in a web page. I am using tiles from CloudMade, but the same issues occur with the Mapnik tiles from OpenStreetMap. I'm trying to restrict the map so that the user cannot zoom all the way out to world view -- I want them to stay at roughly a city level zoom at minimum. I have tried using the minZoomLevel / maxZoomLevel / numZoomLevels properties; only the maxZoomLevel and numZoomLevels properties seem to work, whereas the minZoomLevel property seems to be completely ignored. Is there another way to accomplish this? minZoomLevel is not supported for XYZ

Min/max zoom level in OpenLayers

二次信任 提交于 2019-11-27 02:36:04
问题 I'm using OpenLayers to display a map in a web page. I am using tiles from CloudMade, but the same issues occur with the Mapnik tiles from OpenStreetMap. I'm trying to restrict the map so that the user cannot zoom all the way out to world view -- I want them to stay at roughly a city level zoom at minimum. I have tried using the minZoomLevel / maxZoomLevel / numZoomLevels properties; only the maxZoomLevel and numZoomLevels properties seem to work, whereas the minZoomLevel property seems to be