maps-old130
v1.0.2
Published
Google Maps native SDK for Android and iOS
Downloads
13
Maintainers
Readme
phonegap-googlemaps-plugin
This plugin helps you leverage Google Maps Android SDK v2 and Google Maps SDK for iOS with your JavaScript. Both PhoneGap and Apache Cordova are supported.
###Example You can see an example here. phonegap-googlemaps-plugin-v1.2.5.apk
$> adb install phonegap-googlemaps-plugin-v1.2.5.apk
Join the official community
New versions will be announced through the official community. Stay tuned!
###What's up?
v.1.3.0
- Updated Google Maps iOS SDK to 1.10.2
INFORMATION
In order to install the new version, you have to:
- Delete plugin
cordova plugin rm plugin.google.maps
- Delete Google Maps iOS SDK
cordova plugin rm com.googlemaps.ios
- Re-Install plugin from master (follow wiki for Mac/Linux/Windows)
cordova plugin add https://github.com/wf9a5m75/phonegap-googlemaps-plugin --variable API_KEY_FOR_ANDROID="YOUR_KEY" --variable API_KEY_FOR_IOS="YOUR_KEY"
If you have some weird compiling errors, you're probably missing some linked frameworks. Set the Target Membership https://www.youtube.com/watch?v=gr0QrEShPbQ or just delete your iOS platform and re-install.
Required XCode Version is 6.3+ (due to ABI changes) The minimum target iOS version for Google Maps SDK for iOS is now 7.0. Version 6.0 is no longer supported. This release requires the following additional dependencies in your project: Accelerate.framework, CoreBluetooth.framework, CoreGraphics.framework, Security.framework
This will be set automatically when you install with CLI.
BITCODE isn't supported currently. Google Maps hasn't update now. Just disable Bitcode in XCode 7 when you get compile errors.
v.1.2.9
Add:
- Implement maxWidth for Marker InfoWindow https://github.com/wf9a5m75/phonegap-googlemaps-plugin/pull/503
v.1.2.8
Fixes
- Support for cordova-android 4.x (Cordova 5.x) -> many thanks to @wolf-s
- Fixed bug with base64 icons, icons from file
- Fixed https://github.com/wf9a5m75/phonegap-googlemaps-plugin/issues/591
- Fixed play-service dependency https://github.com/wf9a5m75/phonegap-googlemaps-plugin/pull/567
- Fixed plugin init on new cordova-android version
- Compatibility with https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview (have a look at the wiki and the issues)
- Fixed https://github.com/wf9a5m75/phonegap-googlemaps-plugin/pull/551
- Fixed crash on android when marker is not available https://github.com/wf9a5m75/phonegap-googlemaps-plugin/pull/529
- Fixed .off() listener bug https://github.com/wf9a5m75/phonegap-googlemaps-plugin/pull/517
Added
- pass "params" to marker and retrieve with marker.getParams() https://github.com/wf9a5m75/phonegap-googlemaps-plugin/issues/54
v.1.2.7
- Support for cordova-android 4.x (Cordova 5.x) -> many thanks to @wolf-s
v1.2.5
- Add : The
opacity
andtileSize
properties has been added tomap.addTileOverlay()
- Add : Add marker animations:
DROP
andBOUNCE
- Add : Add INDOOR_BUILDING_FOCUSED & INDOOR_LEVEL_ACTIVATED events for indoor map events.
- Add plugin.google.maps.geometry.encoding.decodePath() & plugin.google.maps.geometry.encoding.encodePath()
- Update : v1.2.5 uses Google Play Services version 23.
- Added settings for watchdogtimer / complete rewrite of remote marker downloads
- The
icon
property of themap.addMarker()
acceptsfile://
&cdvfile://
protocol, and also the absolute file path. - Loading KML files from
file://
&cdvfile://
protocol. - And many bugs are fixed.
Check out the release notes.
###Documentation
Introduction
- How different are the JavaScript APIs (web) and the mobile SDKs (native)
- Why use this plugin?
- Java Objective C or JavaScript. Which one do you like?
- Create a map
- Create a map with initialize options
- Change the map type
- Move the camera
- Move the camera within the specified duration time
- Get the camera position
- Get my location
- Map Class Reference
- Add a Marker
- Show InfoWindow
- Add a marker with multiple line
- callback
- Simple Icon
- Scaled Icon
- Text Styling
- Base64 Encoded Icon
- Remove the marker
- Click a marker
- Click an infoWindow
- Create a marker draggable
- Drag Events
- Create a flat marker
- Marker Class Reference
- Add a circle
- callback
- Remove the circle
- Circle Class Reference
- Add a polyline
- callback
- Remove the polyline
- Polyline Class Reference
- Add a polygon
- Click a polygon
- callback
- Remove the polygon
- Polygon Class Reference
- Add a tile overlay
- TileOverlay Class Reference
- Add a ground overlay
- GroundOverlay Class Reference
- Add a kml overlay
- KmlOverlay Class Reference
- Create a LatLng object
- LatLng Class Reference
- Create a LatLngBounds object
- LatLngBounds Class Reference
- CameraPosition Class Reference
- Location Class Reference
- Geocoding
- Reverse geocoding
- Geocoder Class Reference
- BaseClass Reference
- Launch the navigation application
##Crosswalk If you want to use crosswalk, just follow this easy documentation. Install Plugin with Crosswalk