npm:cordova-plugin-googlemaps-master | Skypack
You need to enable JavaScript to run this app.
Usage no npm install needed!
<script type="module">
import cordovaPluginGooglemapsMaster from 'https://cdn.skypack.dev/cordova-plugin-googlemaps-master';
</script>
README
Cordova GoogleMaps plugin for iOS and Android
This plugin is a thin wrapper for Google Maps Android SDK v2 and Google Maps SDK for iOS .
Both PhoneGap and Apache Cordova are supported.
Chat
Join our online chat at
Donation
Please consider to make a small donation. We spent many hours to make this a great plugin, we even pay other developers to contribute new functions. In order to keep up the motivation, we ask for your help, too. Thanks!
Before I release the clustering feature, I want to raise a funding of 1000$. I will donate some of the funded money to @limeuwe for donating the code and to my developer for the Android part.
Currently funded : 50 $
Quick install
Plugin is finally available on npm
Before you install, make sure you've read the instructions
npm (current stable 1.3.7)
gt; cordova plugin add cordova-plugin-googlemaps --variable API_KEY_FOR_ANDROID="YOUR_ANDROID_API_KEY_IS_HERE" --variable API_KEY_FOR_IOS="YOUR_IOS_API_KEY_IS_HERE"
Github (current master, potentially unstable)
gt; cordova plugin add https://github.com/phonegap-googlemaps-plugin/cordova-plugin-googlemaps --variable API_KEY_FOR_ANDROID="YOUR_ANDROID_API_KEY_IS_HERE" --variable API_KEY_FOR_IOS="YOUR_IOS_API_KEY_IS_HERE"
If you re-install the plugin, please always remove the plugin first, then remove the SDK
gt; cordova plugin rm plugin.google.maps
gt; cordova plugin rm com.googlemaps.ios
gt; cordova plugin add cordova-plugin-googlemaps --variable API_KEY_FOR_ANDROID="YOUR_ANDROID_API_KEY_IS_HERE" --variable API_KEY_FOR_IOS="YOUR_IOS_API_KEY_IS_HERE"
The SDK-Plugin won't be uninstalled automatically and you will stuck on an old version.
Last release information
v.1.3.6 - 07/12/2015
Fixed some small bugs
Updated Google Maps SDK for iOS to 1.11.0
Will fix some bugs on iOS 9
with BITCODE support
fixed blank map problems
v.1.3.4 - 10/15/2015
Updated Google Maps SDK for iOS to 1.10.4
Will fix some bugs on iOS 9
v.1.3.3
Added
added zIndex (iOS only, not available for Android)
659
map.addMarker({
zIndex: int
})
// and
marker.setZIndex()
Fixed
Status-Bar Shift-Down
657
Temp Dom-not-updated fix
658
Stabilized iOS loading
623
Check out the release notes .
Documentation
Introduction
Installation
Automatic Installation
Tutorials
Upgrade
Just re-install this plugin
Terms of Services
Map
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
Marker
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
Circle
Add a circle
callback
Remove the circle
Circle Class Reference
Polyline
Add a polyline
callback
Remove the polyline
Polyline Class Reference
Polygon
Add a polygon
Click a polygon
callback
Remove the polygon
Polygon Class Reference
Tile Overlay
Add a tile overlay
TileOverlay Class Reference
Ground Overlay
Add a ground overlay
GroundOverlay Class Reference
Kml Overlay
Add a kml overlay
KmlOverlay Class Reference
LatLng
Create a LatLng object
LatLng Class Reference
LatLngBounds
Create a LatLngBounds object
LatLngBounds Class Reference
CameraPosition
CameraPosition Class Reference
Location
Geocoder
Geocoding
Reverse geocoding
Geocoder Class Reference
BaseClass
External Service
Launch the navigation application
Crosswalk
If you want to use crosswalk (highly recommended), just follow this easy documentation.
Install Plugin with Crosswalk
Join the official community
New versions will be announced through the official community. Stay tuned!
Example
You can see an example here. phonegap-googlemaps-plugin-v1.2.5.apk
gt; adb install phonegap-googlemaps-plugin-v1.2.5.apk
Details
Updated
December 8, 2015
Created
December 7, 2015
Package Security
ES Module Entrypoint
Info
Export Map
Info
added
Keywords
added
License
added
README
added
Repository URL
TypeScript Types
Info
License
Apache 2.0
Dependencies
0