I found a Android documentation about disable 3D buildings on Google Maps API using the method setBuildingsEnabled(false), but I don't found nothing in plugin documentation and I need that this works for Android, IOs and Windows Phone.
Is there some solution to help me?
This plugin does not work on Windows phone (no plan to implement).
It seems I forgot to implement the setBuildingsEnabled(false) method.
I will implement this for both v1.4 and v2.0 in couple of days.
Ok, you can disable the building like this:
var map = plugin.google.maps.Map.getMap(div, {
'preferences': {
'building': false
}
});
Please reinstall the plugin from the master branch.
$> cordova plugin rm cordova-plugin-googlemaps
$> cordova plugin rm cordova-plugin-googlemaps-sdk
$> cordova plugin add https://github.com/mapsplugin/cordova-plugin-googlemaps --variable ...
For some reason they aren't disabled, even when I'm using {preferences: {building: false}}.
@moriczgergo Can you share your project or a code sample to reproduce the issue?
Also what platform(s) and version of the plugin?