I’m really hoping those 2 android map bugs Joshua referred to (“There are 2 known bugs that need to be fixed before I would say it is release worthy”) are the android map Battery Drain bug, and the android 4.0 and android 4.1 map display/drawing bugs (seen on the s3 and nexus 7).
IMHO, once those 2 are fixed, I think it’s ready for Android prime time. (And if you’re a pessimist: the android maps are crippled until then).
NOTE: The Android 4.0, 4.1 bugs that present themselves on the S3 and Nexus 7 were reproduced with the following code:
[code]
– Note on Android 4.0 and 4.1 systems, various map glitches are apparent if you move the map around.
– On Android 4.0 systems (seen on the S3), white map areas can be seen on the map…
– This appears to be some interim buffer/clipping issue during the map rendering.
– On Android 4.1 systems (seen on the Nexus 7), moving the map causes the rest of the screen
– to go black, and again, perhaps some type of buffering error during map rendering to the display.
– Following code was adapted from CoronaLabs mapView example code
– Create a native MapView (requires XCode Simulator build or device build)
– You can create multiple maps, if you like…
myMap = native.newMapView( 0, 0, 300, 400 )
myMap.mapType = “standard” – other mapType options are “satellite” or “hybrid”
– The MapView is just another Corona display object, and can be moved or rotated, etc.
myMap.x = display.contentWidth / 2
myMap.y = display.contentHeight / 2
– Initialize map to a real location, since default location (0,0) is not very interesting
local currentLatitude = 37.331692
local currentLongitude = -122.030456
myMap:setCenter( currentLatitude, currentLongitude )
local function callMap()
myMap:addMarker( tonumber(currentLatitude), tonumber(currentLongitude), { title=“Bugs seen on S3 and Nexus 7”, subtitle=“Render buffering/clipping issues…”} )
end
– Show a little text… mapView will overdraw it on Nexus 7 / Jelly Bean
local Title = display.newText( “Android 4.0, 4.1 mapView test”, 10, 50, native.systemFont, 30 , { 255, 255, 255, 255 })
Title:setReferencePoint(display.TopLeftReferencePoint)
Title:setTextColor( 255, 255, 255, 255 )
Title:setTextColor(255,255,255)
timer.performWithDelay( 1000, callMap ) – get current location after 1 second
[/code] [import]uid: 79933 topic_id: 32067 reply_id: 129420[/import]