map of events implemented

This commit is contained in:
arnaucode
2017-02-24 01:15:56 +01:00
parent 8b1e678202
commit 24e670eb1c
10 changed files with 292 additions and 3 deletions

25
www/templates/place.html Normal file
View File

@@ -0,0 +1,25 @@
<ion-view view-title="Define a place">
<ion-content>
<label class="item item-input">
<input type="text" ng-model="place.location.direction" placeholder="Direction">
</label>
<div ng-click="getGeo()" class="button button-small c_indigo400 item-note"
ng-show="place.location.direction">
Get geolocation
</div>
<leaflet ng-show="markers[0]"
width="100%" height="40%" markers="markers" center="center"
tiles="tiles" id="map-simple-map"></leaflet>
<label class="item item-input">
<span class="input-label">Radius</span>
<input type="number">
</label>
<div class="item">
<div ng-click="postEvent()" class="button c_indigo400 item-note" ng-show="place.location.geo.lat">
Post new event!
</div>
</div>
</ion-content>
</ion-view>