route-me

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

FMDatabase.h not found when using route-me library

左心房为你撑大大i 提交于 2019-12-25 10:09:31
问题 So im trying to use the route-me widget in my app, but xcode keeps complaining that it cant find FMDatabase.h, yet its included in the project (albeit under a different project that is included into my project). I've copied how a sample app has been made yet the sample project doesnt get this error. The RMDBMapSource.h file is contained within the MapView project, so i shouldn't need to include the fmdb stuff myself (and because the sample project doesn't do that) Surely if the files are

FMDatabase.h not found when using route-me library

时光毁灭记忆、已成空白 提交于 2019-12-25 10:09:05
问题 So im trying to use the route-me widget in my app, but xcode keeps complaining that it cant find FMDatabase.h, yet its included in the project (albeit under a different project that is included into my project). I've copied how a sample app has been made yet the sample project doesnt get this error. The RMDBMapSource.h file is contained within the MapView project, so i shouldn't need to include the fmdb stuff myself (and because the sample project doesn't do that) Surely if the files are

MonoTouch.Foundation.MonoTouchException has been thrown Objective-C exception thrown. Name: NSInternalInconsistencyException

心已入冬 提交于 2019-12-12 13:26:56
问题 I seem to be getting this issue whenever I run my iOS app within Xamarin. MonoTouch.Foundation.MonoTouchException has been thrown Objective-C exception thrown. Name: NSInternalInconsistencyException Reason: Could not load NIB in bundle: ’NSBundle ... (loaded)' with name ‘RouteMeViewController' I am trying to replace a GoogleMapsViewController with a RouteMeViewController using the Objective C library and Binder in an app that I was given to work on. My AppDelegate looks like this: namespace

Using a View Controller managing two other View Controllers

风流意气都作罢 提交于 2019-12-12 02:16:16
问题 I have a offlineMapVC and a onlineMapVC for my application to support both online maps (using MapKit and Google Maps) and offline maps (using Route-Me). I made my own mapVC to manage the switching of these mapVCs and be able to use the view controller as one separate view controller. Well I've done this by making the offlineMapVC and the onlineMapVC instance variables of the new mapVC witch I now use all over my application. First off all things seem to work but. However while using this

Finding if a given position (lat, lon) is within the BoundingBox of two coordinates (route-me)

有些话、适合烂在心里 提交于 2019-12-11 08:35:33
问题 I am working on an iPhone app using the Route-Me project. I am using a method called 'latitudeLongitudeBoundingBoxForScreen' which returns a set of two cooördinates. Defining the Northeast and Southwest corners in lat/lon of your screen. This seems to work fine. My question is how can I determine whether a given point (lat/lon) is within the boundaries of these two coordinates (northeast,southwest)? Thank you very much in advance for your help. 回答1: For general point in a polygon, the Point

Route-Me Offline Maps from Document Root

≡放荡痞女 提交于 2019-12-02 18:46:22
问题 In my App, there is a offline Map presented from a sqlite file. RMDBMapSource *mapSrc = [[RMDBMapSource alloc] initWithPath:@"map.sqlite"]; RMMapContents *contents = nil; contents = [[RMMapContents alloc] initWithView:mapView tilesource:mapSrc]; The map.sqlite file is loaded from my resources and everything is displayed correct. My Problem: I am downloading new versions of the map.sqlite to my Apps documents folder. How can I load my MapSource from a file in the documents folder? Thanks in

Route-Me Offline Maps from Document Root

和自甴很熟 提交于 2019-12-02 08:07:09
In my App, there is a offline Map presented from a sqlite file. RMDBMapSource *mapSrc = [[RMDBMapSource alloc] initWithPath:@"map.sqlite"]; RMMapContents *contents = nil; contents = [[RMMapContents alloc] initWithView:mapView tilesource:mapSrc]; The map.sqlite file is loaded from my resources and everything is displayed correct. My Problem: I am downloading new versions of the map.sqlite to my Apps documents folder. How can I load my MapSource from a file in the documents folder? Thanks in advance! dlkobe 80 You simply need to write: RMDBMapSource *mapSrc = [[RMDBMapSource alloc] initWithPath:

2.23: Apps must follow the iOS Data Storage Guidelines or they will be rejected [closed]

社会主义新天地 提交于 2019-11-29 12:45:06
问题 By uploading the app to the app store have given me this error. 2.23: Apps must follow the iOS Data Storage Guidelines or They Will be rejected I've been watching what is wrong is that one of the files I'm using does not meet the storage requirements. To be more specific it is a sqlite for loading maps offlines mode with route-me library. I am using sqlite for loading map in offline mode, it seems that this map is stored as backup in iCloud, so I'm skipping storage restrictions. Do not know