Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yagajs/ionic2-starter-leaflet-ng2
Ionic starter template for leaflet-ng2
https://github.com/yagajs/ionic2-starter-leaflet-ng2
geospatial ionic leaflet-ng2 starter-template typescript
Last synced: about 1 month ago
JSON representation
Ionic starter template for leaflet-ng2
- Host: GitHub
- URL: https://github.com/yagajs/ionic2-starter-leaflet-ng2
- Owner: yagajs
- License: other
- Created: 2017-05-11T13:09:26.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-11T20:01:22.000Z (over 7 years ago)
- Last Synced: 2024-01-29T09:41:01.065Z (12 months ago)
- Topics: geospatial, ionic, leaflet-ng2, starter-template, typescript
- Language: CSS
- Size: 89.8 KB
- Stars: 3
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ionic2 Starter for YAGA lealfet-ng2
This Ionic starter comes with a pre-configured [YAGA leaflet-ng2 Map](https://leaflet-ng2.yagajs.org/latest).
## Using the Starter
### Installing Ionic CLI 2.0
This starter project requires Ionic CLI 2.0, to install, run
```bash
npm install -g cordova [email protected]
```Make sure to add `sudo` on Mac and Linux. If you encounter issues installing the Ionic 3 CLI, uninstall the old one using `npm uninstall -g ionic` first.
### Creating the Ionic Project
To create a new Ionic project using this AWS Mobile Hub starter, run
```bash
ionic start myApp https://github.com/yagajs/ionic2-starter-leaflet-ng2
```Which will create a new app in `./myApp`.
Once the app is created, `cd` into it:
```bash
cd myApp
```Proceed to the next steps on importing the auto-generated AWS Mobile Hub project.
### Running the app
Now the app is configured. To run the app in the browser, run
```bash
ionic serve
```To run the app in laboratory mode, run
```bash
ionic serve -l
```To run the app on device, first add a platform, and then run it:
```bash
ionic platform add ios
ionic run ios
```Or open the platform-specific project in the relevant IDE:
```bash
open platforms/ios/MyApp.xcodeproj
```