Revize 9d291dae
Přidáno uživatelem Ondřej Fibich před více než 5 roky(ů)
application/views/js/devices_show.php | ||
---|---|---|
{
|
||
var center = SMap.Coords.fromWGS84(gpsy, gpsx);
|
||
var m = new SMap(JAK.gel(divId), center, 17);
|
||
m.addDefaultLayer(SMap.DEF_OPHOTO);
|
||
m.addDefaultLayer(SMap.DEF_BASE).enable();
|
||
|
||
var layerSwitch = new SMap.Control.Layer();
|
||
layerSwitch.addDefaultLayer(SMap.DEF_BASE);
|
||
layerSwitch.addDefaultLayer(SMap.DEF_OPHOTO);
|
||
m.addControl(layerSwitch, {left: "8px", top: "9px"});
|
||
m.addControl(new SMap.Control.Sync());
|
||
m.addDefaultControls();
|
||
|
||
var markerLayer = new SMap.Layer.Marker();
|
Také k dispozici: Unified diff
Fix #1113: Fix display of address point map in popup [develop]