Reputation: 489
I have creatd a webmap on ArcGis online.
The embedded map is in an iframe
.
I am using HTML
and Javascript
to develop something whith Phonegap
.
Does ArcGis have a JS API similar to GoogleMap?
Upvotes: 0
Views: 93
Reputation: 1219
It is possible. Use the ArcGis API https://developers.arcgis.com/javascript/ instead of the GoogleMaps API.
If your project targets Phonegap
, it is even more easy: https://github.com/Esri/quickstart-map-phonegap
A set of simple samples that show how to get started with the ArcGIS API for JavaScript and PhoneGap/Cordova. These samples provide best practices for using PhoneGap and Cordova across different device operating systems and within the PhoneGap/Cordova application lifecycle.
Upvotes: 1
Reputation: 7490
yes it's perfectly possible and fully documented in their api
you can find the full docs here
There is also this repo on github with a phonegap/arcgis starter set up
Upvotes: 2