Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/NICTA/fsdf-hackfest-cordova-leaflet
A Cordova/Leaflet template project
https://github.com/NICTA/fsdf-hackfest-cordova-leaflet
Last synced: 5 days ago
JSON representation
A Cordova/Leaflet template project
- Host: GitHub
- URL: https://github.com/NICTA/fsdf-hackfest-cordova-leaflet
- Owner: NICTA
- License: mit
- Created: 2013-11-28T21:34:54.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-28T21:56:20.000Z (almost 11 years ago)
- Last Synced: 2024-08-01T19:42:05.307Z (3 months ago)
- Language: JavaScript
- Size: 750 KB
- Stars: 11
- Watchers: 8
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Leaflet Project Template
![Screen Grab](grab.jpg)
### Introduction
This is a [Cordova 3.2](http://cordova.apache.org/) template project using the following javascript libraries...
* [Leaflet](http://leafletjs.com/)
* [Bootstrap](http://getbootstrap.com/)
* [Angular JS](http://angularjs.org/)
* [jQuery](http://jquery.com/)### Get up and running
#### Build Environment
* [Node](http://nodejs.org/) (required for Cordova CLI)
* [Android SDK](http://developer.android.com/sdk/index.html)
* [Cordova CLI](http://cordova.apache.org/docs/en/3.2.0/guide_cli_index.md.html#The%20Command-Line%20Interface)#### Install
Create a new Cordova CLI project
cordova create cordova-leaflet
cd cordova-leaflet
# Install the android platform
cordova platform add android# Install the geolocation plugin
cordova plugin add org.apache.cordova.geolocation# Back up the default www dir
mv www www-bak
# Clone the repo as the www dir
git clone [email protected]:NICTA/fsdf-hackfest-cordova-leaflet.git www
# Run/debug locally in a browser
google-chrome www/index.html
# Run on device
cordova run android
# Run on emulator
cordova emulate android