Now I'm developing Android / iOS app with cordova-plugin-googlemaps v2.0, and Onsen UI.
When calling map.addTileOverlay, iOS app always crash. (As for Android, seems no problem)
here is my code
ons.ready(function() {
var mapDiv = document.getElementById("map_canvas");
var map = plugin.google.maps.Map.getMap(mapDiv, {
'mapType' : plugin.google.maps.MapTypeId.NONE,
'preferences': {
'zoom': {
'minZoom': 0,
'maxZoom': 5
}
}
});
map.addEventListener(plugin.google.maps.event.MAP_READY, function() {
map.addTileOverlay({
// Load image files from the local file path
getTile: function(x, y, zoom) {
return "./image/tiles/" + zoom + "_" + x + "-" + y + ".png"
}
}, function(tileOverlay) {
});
});
});`
Now I'm developing Android / iOS app with cordova-plugin-googlemaps v2.0, and Onsen UI. When calling map.addTileOverlay, iOS app always crash. (As for Android, seems no problem)
here is my code
Xcode debug log as follows:
```Jul 17 20:30:04 iPad offline_map_sample[4822]