Changeset 23083 for extensions/rv_gmaps/trunk/template/map.tpl
- Timestamp:
- Jun 7, 2013, 6:01:12 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rv_gmaps/trunk/template/map.tpl
r22180 r23083 48 48 { 49 49 var mapOptions = { 50 mapTypeId: google.maps.MapTypeId. ROADMAP,50 mapTypeId: google.maps.MapTypeId.{/literal}{$MAP_TYPE}{literal}, 51 51 overviewMapControl: true, 52 52 overviewMapControlOptions: {opened: true} … … 56 56 { 57 57 {/literal} 58 58 {if isset($initial_bounds)} 59 59 mapOptions.iniBounds = new google.maps.LatLngBounds( new google.maps.LatLng({$initial_bounds.s},{$initial_bounds.w}), new google.maps.LatLng({$initial_bounds.n},{$initial_bounds.e}) ); 60 60 mapOptions.center = mapOptions.iniBounds.getCenter(); 61 62 63 64 61 {else} 62 mapOptions.center = new google.maps.LatLng(0,0); 63 mapOptions.zoom = 2; 64 {/if} 65 65 {literal} 66 66 } … … 176 176 <div class="titlebar_links" > 177 177 <span id="dataLoadStatus"></span> 178 <a id="aKml" href="" type="application/vnd.google-earth.kml+xml" class="gmnoprint"><img src=" http://maps.google.com/mapfiles/ms/view_as_kml.png" width="16" height="16" alt="kml"> <span>KML</span></a>179 <a id="aLinkToThisPage" href="" class="gmnoprint"><img src=" http://maps.google.com/mapfiles/bar_icon_link.gif" alt="<->" width="16" height="16"> <span>{'Link to this page'|@translate}</span></a>178 <a id="aKml" href="" type="application/vnd.google-earth.kml+xml" class="gmnoprint"><img src="//maps.google.com/mapfiles/ms/view_as_kml.png" width="16" height="16" alt="kml"> <span>KML</span></a> 179 <a id="aLinkToThisPage" href="" class="gmnoprint"><img src="//maps.google.com/mapfiles/bar_icon_link.gif" alt="<->" width="16" height="16"> <span>{'Link to this page'|@translate}</span></a> 180 180 <a id="aBlowup" href="" onclick="return PwgDataHandler.blowupUrl(this.href);" class="gmnoprint" title="{'show all photos around this location'|@translate}"> 181 181 <img src="{$PLUGIN_ROOT_URL}/icons/pic_s.gif" alt="" title="{'show all photos around this location'|@translate}">
Note: See TracChangeset
for help on using the changeset viewer.