Closed lazzaratom closed 6 years ago
Of course: .xml:
<Alloy>
<Window id="win">
<View id="mapview" module="ti.googlemaps"/>
....
.js:
var Map = require('ti.googlemaps'); // iOS Google Maps (native ti.googlemaps)
Map.setAPIKey("xxx"); // iOS Google API key from Console
// MapView Settings
$.mapview.myLocationButton = true;
$.mapview.addEventListener(...
Side-note: I think you can event do event-listeners via the Alloy-syntax.
Hi, does this module support titanium alloy development? I'm trying to do some test but without success. thank you.