forked from mapsplugin/cordova-plugin-googlemaps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
346 lines (322 loc) · 16.3 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-googlemaps" version="2.1.1" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>cordova-plugin-googlemaps</name>
<js-module name="BaseClass" src="www/BaseClass.js">
<runs />
</js-module>
<js-module name="BaseArrayClass" src="www/BaseArrayClass.js">
<runs />
</js-module>
<js-module name="LatLng" src="www/LatLng.js">
<runs />
</js-module>
<js-module name="LatLngBounds" src="www/LatLngBounds.js">
<runs />
</js-module>
<js-module name="VisibleRegion" src="www/VisibleRegion.js">
<runs />
</js-module>
<js-module name="Location" src="www/Location.js">
<runs />
</js-module>
<js-module name="CameraPosition" src="www/CameraPosition.js">
<runs />
</js-module>
<js-module name="Polyline" src="www/Polyline.js">
<runs />
</js-module>
<js-module name="Polygon" src="www/Polygon.js">
<runs />
</js-module>
<js-module name="Marker" src="www/Marker.js">
<runs />
</js-module>
<js-module name="HtmlInfoWindow" src="www/HtmlInfoWindow.js">
<runs />
</js-module>
<js-module name="Circle" src="www/Circle.js">
<runs />
</js-module>
<js-module name="TileOverlay" src="www/TileOverlay.js">
<runs />
</js-module>
<js-module name="GroundOverlay" src="www/GroundOverlay.js">
<runs />
</js-module>
<js-module name="Common" src="www/Common.js">
<runs />
</js-module>
<js-module name="encoding" src="www/encoding.js">
<runs />
</js-module>
<js-module name="spherical" src="www/spherical.js">
<runs />
</js-module>
<js-module name="poly" src="www/poly.js">
<runs />
</js-module>
<js-module name="Geocoder" src="www/Geocoder.js">
<runs />
</js-module>
<js-module name="Map" src="www/Map.js">
<runs />
</js-module>
<js-module name="event" src="www/event.js">
<runs />
</js-module>
<js-module name="MapTypeId" src="www/MapTypeId.js">
<runs />
</js-module>
<js-module name="KmlOverlay" src="www/KmlOverlay.js">
<runs />
</js-module>
<js-module name="Environment" src="www/Environment.js">
<runs />
</js-module>
<js-module name="MarkerCluster" src="www/MarkerCluster.js">
<runs />
</js-module>
<js-module name="Cluster" src="www/Cluster.js">
<runs />
</js-module>
<js-module name="geomodel" src="www/geomodel.js">
<runs />
</js-module>
<js-module name="CordovaGoogleMaps" src="www/googlemaps-cdv-plugin.js">
<clobbers target="plugin.google.maps" />
</js-module>
<description>Google Maps native SDK for Android and iOS.
This plugin allows your application to use the native Google Maps views instead of the Google Maps JavaScript API v3.
The native map view is faster, use less network usage, display 3D views, and even work on offline network.
</description>
<repo>https://github.com/mapsplugin/cordova-plugin-googlemaps</repo>
<issue>https://github.com/mapsplugin/cordova-plugin-googlemaps/issues</issue>
<author>Masashi Katsumata</author>
<license>Apache 2.0</license>
<keywords>google,maps,geo</keywords>
<engines>
<engine name="cordova-android" version=">=5.1.0" />
<engine name="cordova-ios" version=">=3.0.0" />
</engines>
<!-- android -->
<platform name="android">
<preference name="API_KEY_FOR_ANDROID" />
<info>
Official document
https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v2.0.0/README.md
</info>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="CordovaGoogleMaps">
<param name="android-package" value="plugin.google.maps.CordovaGoogleMaps" />
<param name="onload" value="true" />
<param name="onreset" value="true" />
</feature>
<feature name="Map">
<param name="android-package" value="plugin.google.maps.PluginMap" />
</feature>
<feature name="Polyline">
<param name="android-package" value="plugin.google.maps.PluginPolyline" />
</feature>
<feature name="Polygon">
<param name="android-package" value="plugin.google.maps.PluginPolygon" />
</feature>
<feature name="Marker">
<param name="android-package" value="plugin.google.maps.PluginMarker" />
</feature>
<feature name="Circle">
<param name="android-package" value="plugin.google.maps.PluginCircle" />
</feature>
<feature name="TileOverlay">
<param name="android-package" value="plugin.google.maps.PluginTileOverlay" />
</feature>
<feature name="GroundOverlay">
<param name="android-package" value="plugin.google.maps.PluginGroundOverlay" />
</feature>
<feature name="KmlOverlay">
<param name="android-package" value="plugin.google.maps.PluginKmlOverlay" />
</feature>
<feature name="Geocoder">
<param name="android-package" value="plugin.google.maps.PluginGeocoder" />
</feature>
<feature name="Environment">
<param name="android-package" value="plugin.google.maps.Environment" />
</feature>
<feature name="MarkerCluster">
<param name="android-package" value="plugin.google.maps.PluginMarkerCluster" />
</feature>
</config-file>
<framework src="com.google.android.gms:play-services-maps:+" />
<framework src="com.google.android.gms:play-services-location:+" />
<!-- plugin src files -->
<source-file src="src/android/plugin/google/maps/AsyncLoadImage.java" target-dir="src/plugin/google/maps" />
<source-file src="src/android/plugin/google/maps/AsyncLoadImageInterface.java" target-dir="src/plugin/google/maps" />
<source-file src="src/android/plugin/google/maps/Environment.java" target-dir="src/plugin/google/maps" />
<source-file src="src/android/plugin/google/maps/CordovaGoogleMaps.java" target-dir="src/plugin/google/maps" />
<source-file src="src/android/plugin/google/maps/ObjectCache.java" target-dir="src/plugin/google/maps" />
<source-file src="src/android/plugin/google/maps/MyPlugin.java" target-dir="src/plugin/google/maps" />
<source-file src="src/android/plugin/google/maps/MyPluginLayout.java" target-dir="src/plugin/google/maps" />
<source-file src="src/android/plugin/google/maps/MyPluginInterface.java" target-dir="src/plugin/google/maps" />
<source-file src="src/android/plugin/google/maps/PluginCircle.java" target-dir="src/plugin/google/maps" />
<source-file src="src/android/plugin/google/maps/PluginGeocoder.java" target-dir="src/plugin/google/maps" />
<source-file src="src/android/plugin/google/maps/PluginGroundOverlay.java" target-dir="src/plugin/google/maps" />
<source-file src="src/android/plugin/google/maps/PluginKmlOverlay.java" target-dir="src/plugin/google/maps" />
<source-file src="src/android/plugin/google/maps/PluginMap.java" target-dir="src/plugin/google/maps" />
<source-file src="src/android/plugin/google/maps/PluginMarker.java" target-dir="src/plugin/google/maps" />
<source-file src="src/android/plugin/google/maps/PluginPolygon.java" target-dir="src/plugin/google/maps" />
<source-file src="src/android/plugin/google/maps/PluginPolyline.java" target-dir="src/plugin/google/maps" />
<source-file src="src/android/plugin/google/maps/PluginTileOverlay.java" target-dir="src/plugin/google/maps" />
<source-file src="src/android/plugin/google/maps/PluginTileProvider.java" target-dir="src/plugin/google/maps" />
<source-file src="src/android/plugin/google/maps/PluginUtil.java" target-dir="src/plugin/google/maps" />
<source-file src="src/android/plugin/google/maps/PluginAsyncInterface.java" target-dir="src/plugin/google/maps" />
<source-file src="src/android/plugin/google/maps/BitmapCache.java" target-dir="src/plugin/google/maps" />
<source-file src="src/android/plugin/google/maps/PluginMarkerCluster.java" target-dir="src/plugin/google/maps" />
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="$API_KEY_FOR_ANDROID" />
<!-- Google Play Services SDK -->
<meta-data android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<!-- The following two permissions are not required to use
Google Maps Android API v2, but are recommended. -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<!-- OpenGL ES version 2 -->
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
<!-- GPS -->
<uses-feature android:name="android.hardware.location" />
<uses-feature android:name="android.hardware.location.gps" />
</config-file>
<resource-file src="src/android/res/layout/dummy_infowindow.xml" target="res/layout/dummy_infowindow.xml"/>
</platform>
<!-- ios -->
<platform name="ios">
<preference name="API_KEY_FOR_IOS" />
<preference name="LOCATION_WHEN_IN_USE_DESCRIPTION" default="Show your location on the map"/>
<preference name="LOCATION_ALWAYS_USAGE_DESCRIPTION" default="Trace your location on the map" />
<info>
Official document
https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v2.0.0/README.md
</info>
<config-file target="config.xml" parent="/*">
<feature name="CordovaGoogleMaps">
<param name="ios-package" value="CordovaGoogleMaps" />
<param name="onload" value="true" />
<param name="onreset" value="true" />
</feature>
<feature name="Environment">
<param name="ios-package" value="Environment" />
</feature>
<feature name="Geocoder">
<param name="ios-package" value="PluginGeocoder" />
</feature>
<feature name="Map">
<param name="ios-package" value="PluginMap" />
</feature>
<feature name="Circle">
<param name="ios-package" value="PluginCircle" />
</feature>
<feature name="GroundOverlay">
<param name="ios-package" value="PluginGroundOverlay" />
</feature>
<feature name="KmlOverlay">
<param name="ios-package" value="PluginKmlOverlay" />
</feature>
<feature name="Marker">
<param name="ios-package" value="PluginMarker" />
</feature>
<feature name="Polygon">
<param name="ios-package" value="PluginPolygon" />
</feature>
<feature name="Polyline">
<param name="ios-package" value="PluginPolyline" />
</feature>
<feature name="TileOverlay">
<param name="ios-package" value="PluginTileOverlay" />
</feature>
<feature name="MarkerCluster">
<param name="ios-package" value="PluginMarkerCluster" />
</feature>
</config-file>
<header-file src="src/ios/GoogleMaps/PluginCircle.h" />
<source-file src="src/ios/GoogleMaps/PluginCircle.m" />
<header-file src="src/ios/GoogleMaps/PluginGeocoder.h" />
<source-file src="src/ios/GoogleMaps/PluginGeocoder.m" />
<header-file src="src/ios/GoogleMaps/Environment.h" />
<source-file src="src/ios/GoogleMaps/Environment.m" />
<header-file src="src/ios/GoogleMaps/CordovaGoogleMaps.h" />
<source-file src="src/ios/GoogleMaps/CordovaGoogleMaps.m" />
<header-file src="src/ios/GoogleMaps/GoogleMapsViewController.h" />
<source-file src="src/ios/GoogleMaps/GoogleMapsViewController.m" />
<header-file src="src/ios/GoogleMaps/PluginGroundOverlay.h" />
<source-file src="src/ios/GoogleMaps/PluginGroundOverlay.m" />
<header-file src="src/ios/GoogleMaps/PluginKmlOverlay.h" />
<source-file src="src/ios/GoogleMaps/PluginKmlOverlay.m" />
<header-file src="src/ios/GoogleMaps/PluginMap.h" />
<source-file src="src/ios/GoogleMaps/PluginMap.m" />
<header-file src="src/ios/GoogleMaps/PluginMarker.h" />
<source-file src="src/ios/GoogleMaps/PluginMarker.m" />
<header-file src="src/ios/GoogleMaps/MyPlgunProtocol.h" />
<header-file src="src/ios/GoogleMaps/PluginUtil.h" />
<source-file src="src/ios/GoogleMaps/PluginUtil.m" />
<header-file src="src/ios/GoogleMaps/PluginPolygon.h" />
<source-file src="src/ios/GoogleMaps/PluginPolygon.m" />
<header-file src="src/ios/GoogleMaps/PluginPolyline.h" />
<source-file src="src/ios/GoogleMaps/PluginPolyline.m" />
<header-file src="src/ios/GoogleMaps/PluginTileProvider.h" />
<source-file src="src/ios/GoogleMaps/PluginTileProvider.m" />
<header-file src="src/ios/GoogleMaps/TBXML.h" />
<source-file src="src/ios/GoogleMaps/TBXML.m" />
<header-file src="src/ios/GoogleMaps/PluginTileOverlay.h" />
<source-file src="src/ios/GoogleMaps/PluginTileOverlay.m" />
<header-file src="src/ios/GoogleMaps/NSData-Base64/NSData+Base64.h" />
<header-file src="src/ios/GoogleMaps/NSData-Base64/NSData+Base64.podspec" />
<source-file src="src/ios/GoogleMaps/NSData-Base64/NSData+Base64.m" />
<header-file src="src/ios/GoogleMaps/MFGoogleMapAdditions/GMSCoordinateBounds+Geometry.h" />
<source-file src="src/ios/GoogleMaps/MFGoogleMapAdditions/GMSCoordinateBounds+Geometry.m" />
<header-file src="src/ios/GoogleMaps/MyPluginLayer.h" />
<source-file src="src/ios/GoogleMaps/MyPluginLayer.m" />
<header-file src="src/ios/GoogleMaps/MyPluginLayerDebugView.h" />
<source-file src="src/ios/GoogleMaps/MyPluginLayerDebugView.m" />
<header-file src="src/ios/GoogleMaps/MyPluginScrollView.h" />
<source-file src="src/ios/GoogleMaps/MyPluginScrollView.m" />
<header-file src="src/ios/GoogleMaps/PluginMarkerCluster.h" />
<source-file src="src/ios/GoogleMaps/PluginMarkerCluster.m" />
<header-file src="src/ios/GoogleMaps/UIImageCache.h" />
<source-file src="src/ios/GoogleMaps/UIImageCache.m" />
<config-file target="*-Info.plist" parent="Google Maps API Key">
<string>$API_KEY_FOR_IOS</string>
</config-file>
<config-file target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription">
<string>$LOCATION_WHEN_IN_USE_DESCRIPTION</string>
</config-file>
<config-file target="*-Info.plist" parent="NSLocationAlwaysUsageDescription">
<string>$LOCATION_ALWAYS_USAGE_DESCRIPTION</string>
</config-file>
<config-file target="*-Info.plist" parent="LSApplicationQueriesSchemes">
<array>
<string>googlechromes</string>
<string>comgooglemaps</string>
</array>
</config-file>
<config-file target="*-Info.plist" parent="CFBundleURLTypes">
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>$PACKAGE_NAME</string>
<key>CFBundleURLSchemes</key>
<array>
<string>$PACKAGE_NAME</string>
</array>
</dict>
</array>
</config-file>
<dependency id="com.googlemaps.ios" url="https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk" />
</platform>
</plugin>