Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

alpstein image overlay

103 views
Skip to first unread message

Tore Halset

unread,
Jan 28, 2013, 9:48:44 AM1/28/13
to route-me
Hello.

I want to have a untiled raster map layer on top of the tiles. The overlay is not tiled and should zoom/pan together with the tiles. The overlay content is a semi-transparent image fetched from a server.

With route-me core, I created this as a RMMapLayer and did a [mapView.contents.overlay addSublayer:..] and it worked fine, but how should it be done on alpstein? RMMapView._overlayView seem to be internal to RMMapView.

Tried to use RMMapView._overlayView and panning seem pretty good, but pinch does not scale the overlay image. Why does RMMapOverlayView has a moveLayersBy, but not a zoomLayersBy?

Regards,
Tore Halset.

Justin R. Miller

unread,
Jan 29, 2013, 1:06:19 PM1/29/13
to route-...@googlegroups.com
Hi Tore,

With both Alpstein and the MapBox SDK, you want to return an RMMapLayer for the layer in question and just set its contents property. Patches welcome for this, but we haven't gotten to it yet and it's being tracked at https://github.com/mapbox/mapbox-ios-sdk/issues/126

JM

Tore Halset

unread,
Feb 1, 2013, 10:40:02 AM2/1/13
to route-...@googlegroups.com
Thanks Justin!

I should have read the issue-trackers..

Regards,
Tore Halset.
> --
> You received this message because you are subscribed to the Google Groups "route-me" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to route-me-map...@googlegroups.com.
> To post to this group, send email to route-...@googlegroups.com.
> Visit this group at http://groups.google.com/group/route-me-map?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Reply all
Reply to author
Forward
0 new messages