Native Objects and mapView

Hi,

Can someone tell me if I can do this on corona sdk, I tried to search on the net I can’t find a clear answer if it is posible.

  • Can I put a none native object above the native mapView

  • Can I change the marker image on the current Location of the user on the mapView (the blinking circle)

  • Can I re-size the image of marker once I added it on the mapView as a marker

  • Can I take a screenshot or a thumbnail image of my current map area of my location on the mapView, when I have done it I can’t capture the map it only shows me a blank.

Thanks in advance. :slight_smile:

Please don’t ask the same question twice. You could have edited your previous post to ask the extra question.  I deleted your other post.

  1. No, you cannot put a non-native object on top of a mapView. We cannot draw display.* objects on top of native.* objects.

  2. No, you cannot change the user’s current location marker.

  3. No, there are no facilities to resize markers after the fact.

  4. Our display.capture()/.save() API’s only work on the OpenGL layer. native.* are not part of that display hirearchy and cannot be captured. This can be worked around by using Google Static maps where they send you a JPEG or PNG of a rendered map that can be displayed alongside other display objects. On Android we use Google Maps so you in theory could generate an identical map to what the mapView has and capture it that way. On iOS we are using Apple maps so the screen shot wouldn’t match.

Rob

Sorry for that, I thought my post didn’t publish, so I’d just post again.

Thanks for your answer to my question.

Please don’t ask the same question twice. You could have edited your previous post to ask the extra question.  I deleted your other post.

  1. No, you cannot put a non-native object on top of a mapView. We cannot draw display.* objects on top of native.* objects.

  2. No, you cannot change the user’s current location marker.

  3. No, there are no facilities to resize markers after the fact.

  4. Our display.capture()/.save() API’s only work on the OpenGL layer. native.* are not part of that display hirearchy and cannot be captured. This can be worked around by using Google Static maps where they send you a JPEG or PNG of a rendered map that can be displayed alongside other display objects. On Android we use Google Maps so you in theory could generate an identical map to what the mapView has and capture it that way. On iOS we are using Apple maps so the screen shot wouldn’t match.

Rob

Sorry for that, I thought my post didn’t publish, so I’d just post again.

Thanks for your answer to my question.