Native objects like native.textField and native.mapView are not display objects that are controlled by Corona’s display group system. They always sit above any display objects. Therefore storyboard cannot manage the removal of these items.
You need to probably create the mapView in your enterScene() function and remove it in your exitScene() function by hand.
That did the trick of removing the object when leaving the scene. However if I enter the scene again the map object is not recreated. Is there a way I can force the map creation? [import]uid: 158485 topic_id: 33521 reply_id: 133251[/import]
Native objects like native.textField and native.mapView are not display objects that are controlled by Corona’s display group system. They always sit above any display objects. Therefore storyboard cannot manage the removal of these items.
You need to probably create the mapView in your enterScene() function and remove it in your exitScene() function by hand.
That did the trick of removing the object when leaving the scene. However if I enter the scene again the map object is not recreated. Is there a way I can force the map creation? [import]uid: 158485 topic_id: 33521 reply_id: 133251[/import]