Add marker on mapview is not vissible on android??
This is my code
_w, _h = display.contentWidth, display.contentHeight
display.setStatusBar( display.HiddenStatusBar )
local widget = require(“widget”);
local myMap = native.newMapView( 20, 20, _w, _h )
if myMap then
myMap.mapType = “normal”
myMap.x = display.contentWidth / 2
myMap.y = 120
myMap:setCenter( 38.762182, 20.718485 )
local hotelmarker = {
title = “Ionian Blue”,
subtitle = “Νικιάνα, 31100 Λευκάδα”,
imageFile = “hotel.png”,
}
myMap:addMarker( 38.762182, 20.718485, hotelmarker )
end