Hi friends,
Here is the code for the storyboard scene where I have the map:
[lua]-- scene map
function scene1map:createScene( event )
local group = self.view
local myMap = native.newMapView( 0, 110, 320, 322 )
myMap.mapType = “normal”
group:insert( myMap )
end
scene1map:addEventListener( “createScene”, scene1map )[/lua]
Also, I have a listener on a button to change acene:
[lua]storyboard.gotoScene( “scene2” )[/lua]
The problem is that when I change scene the map will persist on the screen. I have other elements on the map scene that are removed properly.
Help please, thanks. [import]uid: 158485 topic_id: 33521 reply_id: 333521[/import]