Skip to content

htulipe/OpenLayersGap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenLayersGap

A simple example of an Openlayers usage with PhoneGap. The application has been tested with PhoneGap 3.0.0 and OpenLayers 2.14 on Android SDK 7.

Build

cd <repo>

Add android platform (or whatever platform you wish) :

cordova platform add android

Compile :

phonegap build android

Running on device

With your device properly plugged in and driver installed:

phonegap run android

Running on emulator

With an emulator running (called emulator-5554 in this case)

phonegap run --emulator=emulator-5554 android

Running on desktop

As many more PhoneGap app, you can open index.html in your browser to see the application running. You will have to manually dispatch the deviceready event:

    document.dispatchEvent(new Event('deviceready'))

About

A simple example of an Openlayers usage with PhoneGap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published