Explorar el Código

Protocol agnostic OSM URL

master
piernov hace 7 años
padre
commit
77daf18d8c
Se han modificado 3 ficheros con 6 adiciones y 6 borrados
  1. +2
    -2
      jm2l/templates/Logistique/Dialog_Covoit.mako
  2. +2
    -2
      jm2l/templates/Public/Plan.mako
  3. +2
    -2
      jm2l/templates/modals.mako

+ 2
- 2
jm2l/templates/Logistique/Dialog_Covoit.mako Ver fichero

@@ -57,8 +57,8 @@
<script type="text/javascript">
var map = L.map('map');
// create the tile layer with correct attribution
var osmUrl='http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
var osmAttrib='Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors';
var osmUrl='//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
var osmAttrib='Map data © <a href="//openstreetmap.org">OpenStreetMap</a> contributors';
var osm = new L.TileLayer(osmUrl, {minZoom: 8, maxZoom: 17, attribution: osmAttrib});
map.addLayer(osm);
var great_route = L.Routing.control({


+ 2
- 2
jm2l/templates/Public/Plan.mako Ver fichero

@@ -67,8 +67,8 @@
<script type="text/javascript">
var map = L.map('come_map');
// create the tile layer with correct attribution
var osmUrl='http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
var osmAttrib='Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors';
var osmUrl='//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
var osmAttrib='Map data © <a href="//openstreetmap.org">OpenStreetMap</a> contributors';
var osm = new L.TileLayer(osmUrl, {minZoom: 7, maxZoom: 18, attribution: osmAttrib});
map.setView(new L.LatLng(43.6137, 7.07502),16);
marker = L.marker([43.61556, 7.07176], {


+ 2
- 2
jm2l/templates/modals.mako Ver fichero

@@ -98,8 +98,8 @@
<script type="text/javascript">
var map = L.map('map');
// create the tile layer with correct attribution
var osmUrl='http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
var osmAttrib='Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors';
var osmUrl='//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
var osmAttrib='Map data © <a href="//openstreetmap.org">OpenStreetMap</a> contributors';
var osm = new L.TileLayer(osmUrl, {minZoom: 8, maxZoom: 18, attribution: osmAttrib});
// start the map on specified GPS Coords
map.setView(new L.LatLng(${form.gps_coord.data}),15);


Cargando…
Cancelar
Guardar