cloudmade

route-me won't compile in xCode 4

雨燕双飞 提交于 2020-02-05 05:17:05
问题 I'm trying to get route-me offline maps to compile in xCode 4. They were fine in xCode 3. I believe my issue is with architecture settings. Looking at the following post, it looks like I should change proj4 to be armv6 only and leave the main project and mapview at standard (v6 & v7). However, I still get the following errors: Undefined symbols for architecture armv6: "_OBJC_CLASS_$_RMMarker", referenced from: objc-class-ref in OSMapViewController.o "_OBJC_CLASS_$_RMDBMapSource", referenced

Leaflet.js: Open all popup bubbles on page load

情到浓时终转凉″ 提交于 2019-12-30 01:58:11
问题 I'm trying to work out from the Leaflet.js docs how it would be possible to open more than one popup upon showing the page. For instance, if one had three markers (each representing a building), each one would have their popup opened immediately. http://leaflet.cloudmade.com/reference.html#popup cryptically says: "Use Map#openPopup to open popups while making sure that only one popup is open at one time (recommended for usability), or use Map#addLayer to open as many as you want." but http:/

Custom map style in MapKit

微笑、不失礼 提交于 2019-12-29 18:02:40
问题 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

Custom map style in MapKit

折月煮酒 提交于 2019-12-29 18:02:11
问题 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

How to use Offline Cloudmade Maps in an iPhone App

一曲冷凌霜 提交于 2019-12-29 07:13:43
问题 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

Cloudmade Status

允我心安 提交于 2019-12-25 02:14:41
问题 I've been looking at using Cloudmade, but it feels rather unloved. There has been a single blog entry since June, the forums are suspiciously quiet and its iOS examples page carries information about preparing for iOS4. Is Cloudmade a dying/abandoned project or is it something worth looking at? 回答1: Couple weeks ago we've launched new website http://cloudmade.com/ We no longer provide old iOS SDK, but we working on new one. 来源: https://stackoverflow.com/questions/7928199/cloudmade-status

Cloudmade and Leaflet: Multiple custom markers

懵懂的女人 提交于 2019-12-11 14:38:33
问题 I have followed the leaflet tutorial on how to create Layer Control and the custom markers: Markers:http://leafletjs.com/examples/custom-icons.html Control: http://leafletjs.com/examples/layers-control.html I am using the control code and i would like to add MULTIPLE custom markear to this. When applying the code it the map goes blank however with one marker it works.Any help or guidance would be great. This is my current code for multiple markers that breaks: I do get an error in the console

Calculating driving distance in iPhone

末鹿安然 提交于 2019-12-10 10:15:46
问题 I need to find the driving distance between 2 locations. I do not need to display the directions in a map, just need to calculate the distance, which I need to use in my application. Does MapKit allow this? Is there an alternative that can be used? I am able to get forward geo-coding using CloudMade, but there doesn't seem to be an option to obtain driving distance. Appreciate any help. 回答1: CloudMade also offers driving directions. If you are only interested in the distance, simply ignore

Combining Google Maps Geocoder and Leaflet Map Receiving Error: Invalid LatLng object

余生长醉 提交于 2019-12-08 00:54:10
问题 I'm using Google Maps Geocoder to grab the latitude and longitude of an address. I'm then taking that address and using Leaflet and panning the map to the latitude + longitude coordinates. However, I'm receiving an error from Firebug saying Error: Invalid LatLng object: (-33.8674869, 151.20699020000006, undefined) . I know my variable geolocation returns -33.8674869, 151.20699020000006 but not the undefined. What's causing the problem? <body onload="initialize()"> <div id="result"></div> <div

leafletjs setMaxBounds wont let zoom out to see whole world

纵然是瞬间 提交于 2019-12-07 08:18:58
问题 I am using leaflet js to show a world map using cloudmade tiles. When I setMaxBounds to the map the bounds work great except to north. That is, however, not my biggest concern. My concern is, as I use maxBounds I can not zoom out to see whole world in any screen size. The bound I used reaches all the way from north east corner of canada to south west of australia. I can pan to reach the bounds but cant zoom out to see whole map. I set minZoom to 0. Without maxBound , it is zoomed out too far