[Prev] Thread [Next]  |  [Prev] Date [Next]

[route-me] Re: MBtiles + User Location shenstech Wed Apr 04 11:00:27 2012

Here is some of my marker code, I think you'll find what you're
looking for here:

                RMMarker *curMarker;
                CLLocationCoordinate2D curLocation;

                curMarker = [[RMMarker alloc] initWithUIImage: coloredStop];

                NSNumber *numLon = [NSNumber numberWithFloat: //Insert your Lon
                NSNumber *numLat = [NSNumber numberWithFloat: //Insert your Lat

                curLocation.latitude = [numLat floatValue];
                curLocation.longitude = [numLon floatValue];

                [yourMarkerManager addMarker:curMarker

On Apr 4, 6:27 am, gisman <[EMAIL PROTECTED]> wrote:
> Hi All
> I have just started with xcode and route-me so sorry for such a basic
> question. I have got the MBtiles example working with my own data and
> its fantastic.
> I now want to add a button that locates the 'user' with a little
> marker, much like the blue dot.
> I have done a few tutorials about the Core Location framework and have
> managed to create some text fields with the lat/long values.
> However I am struggling to do that with route-me, and a button plus a
> marker. I see there is a RMMarker but how do I pass the lat/long to
> it?
> There were some old posts about a user location but no one posted a
> solution, so hoping someone could help
> thanks

You received this message because you are subscribed to the Google Groups 
"route-me" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at