Changes between Version 5 and Version 6 of cs/Kontakt


Ignore:
Timestamp:
May 12, 2014, 11:00:05 AM (7 years ago)
Author:
xkocinc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • cs/Kontakt

    v5 v6  
    11{{{#!html
    2 <iframe src="http://api4.mapy.cz/frame?url=http%3A%2F%2Fmapy.cz%2Fs%2F9PxT&amp;z=16&amp;x=16.599250484988914&amp;y=49.21019516480044&amp;layer=1&amp;mini=1&amp;prev=1&amp;w=500&amp;h=333" width="100%" height="333" style="border:none" frameBorder="0"></iframe>
     2<script type="text/javascript" src="http://api4.mapy.cz/loader.js"></script>
     3<script type="text/javascript">Loader.load();</script>
     4<div id="mapa" style="width:500px; height:333px;"></div>
     5<script type="text/javascript">
     6    var center = SMap.Coords.fromWGS84(16.599250484988914,49.21019516480044, {orientation:SMap.NORTH});
     7    var mapa = new SMap(JAK.gel("mapa"), center,16);
     8    mapa.addDefaultLayer(SMap.DEF_SMART).enable();
     9    mapa.addDefaultControls();
     10    var node = JAK.mel("a",{href:"http://mapy.cz/s/9PxT",target:'_blank'},{fontSize:"13px",lineHeight:"100%",fontFamily:"Arial,Verdana,sans-serif",textAlign:"center",display:"block",width:"165px", height:"33px",overflow:"hidden",textDecoration:"none",background:"transparent url(http://api4.mapy.cz/img/web/button-zobrazit.png) no-repeat",position:"absolute",left:"4px",bottom:"26px"});
     11    node.innerHTML = '<span style="position:relative; top:10px;text-shadow:0px 1px 1px #fff;color:#000;display:inline-block;padding-left:18px;background:transparent url(http://api4.mapy.cz/img/web/ico-zobrazit.png) 0 0 no-repeat">Zobrazit na Mapy.cz</span>';
     12    JAK.gel("mapa").appendChild(node);
     13    var overview = new SMap.Control.Overview();
     14    mapa.addControl(overview);
     15</script>
    316}}}
    417