how to save photo from native.newMapView()

i usenative.newMapView() to get a map

i want to save whole screen including map

i use

display.capture()

display.save()

display.captureScreen( true )

all three function,it can save screen,but can not save map.

how do i save map to photo?

native.* API calls are not part of the OpenGL canvas and cannot be captured with our display.* API’s

Rob

Though an easy workaround is using the Google Static Maps API.

Just take the data from your mapView, send it to the API, and get an image of the map back.

https://developers.google.com/maps/documentation/static-maps/

I believe you get 1,000 requests/day for free

native.* API calls are not part of the OpenGL canvas and cannot be captured with our display.* API’s

Rob

Though an easy workaround is using the Google Static Maps API.

Just take the data from your mapView, send it to the API, and get an image of the map back.

https://developers.google.com/maps/documentation/static-maps/

I believe you get 1,000 requests/day for free