<h4>{{item.name}}</h4>
<iframe width="425" height="350" frameborder="0" scrolling="no"
marginheight="0" marginwidth="0"
- ng-src="http://www.openstreetmap.org/export/embed.html?bbox=
- {{item.value.split(",").slice(1)-10 }}
- %2C{{item.value.split(",").slice(0)-10 }}
- %2C{{item.value.split(",").slice(1)+10 }}
- %2C{{item.value.split(",").slice(0)+10 }}
- &layer=mapnik" style="border: 1px solid black"></iframe><br/>
- <small><a href="http://www.openstreetmap.org/#map=19/48.57903/7.76321">Afficher une carte plus grande</a></small>
+ ng-src="{{osmURL(item.value)}}" style="border: 1px solid black"></iframe><br/>
<button style="width:425px;" type="button" class="btn btn-default"
ng-click="addCoordinate({{item.value}})">Ajouter coordonnees</button>
</div>
<button style="width:100%;" type="button" class="btn btn-default"
ng-click="storeCanvas()">Create canvas</button>
+
+ <button style="width:100%;" type="button" class="btn btn-default"
+ ng-controller="TemplateSyncCtrl"
+ ng-click='fetchTemplateList("localhost:8000")'>template request</button>
</div>
</ion-content>