Ignore:
Timestamp:
Jun 7, 2013, 6:01:12 AM (11 years ago)
Author:
rvelices
Message:

rv_gmaps:

  • admin can choose default map type (roadmap, satellite, ...)
  • auto center and zoom when viewing map for the entire gallery
  • fix kml namespace
  • attempt to fix uage with https on the photo page (need test)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_gmaps/trunk/template/page_linker.js

    r12700 r23083  
    2828        vars['ll'] = map.getCenter().toUrlValue(5);
    2929        vars['z'] = map.getZoom();
    30         if ( map.getMapTypeId()===google.maps.MapTypeId.ROADMAP )
    31                 { if (vars['t']) vars['t']=null; }
    32         else
    33                 vars['t']=map.getMapTypeId();
     30        vars['t']=map.getMapTypeId();
    3431
    3532        var url = document.location.protocol+'//'+document.location.hostname+document.location.pathname;
Note: See TracChangeset for help on using the changeset viewer.