tapOnMarker when RMPath available #149

Open
RomanN2 opened this Issue Nov 1, 2011 · 2 comments

Projects

None yet

2 participants

@RomanN2
RomanN2 commented Nov 1, 2011

I have discovered the next problem. Below RMMapViewDelegate method is not called correctly when RMPath is available.

  • (void) tapOnMarker: (RMMarker_) marker onMap: (RMMapView_) map.

That is enough to remove the path and tapOnMarker starts work well. Does anyone know how it may be resolved?

Thanks.

RomanN2 commented Nov 3, 2011

I've got it solved in a bit weird way. You just have to add path layer before adding the markers.

Alternatively, give your markers a zPosition property greater than the path's. This will layer them above the paths, regardless of the order you draw them in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment