Plugin Directory

Changeset 644110


Ignore:
Timestamp:
12/24/2012 03:17:44 PM (13 years ago)
Author:
FranceImage
Message:

open google map when popup map is clicked

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fi-geolocation/trunk/js/showme-where.js

    r643762 r644110  
    5858    var cancelDisappear = false;
    5959   
     60   
     61    google.maps.event.addListener(popup_map, "click", function() {
     62        window.open("http://maps.google.com/maps?ll=" + popup_map.getCenter().lat() + "," + popup_map.getCenter().lng() + "&z=" + popup_map.getZoom() + "&q=to+location@" + popup_map.getCenter().lat() + "," + popup_map.getCenter().lng());
     63    });
    6064   
    6165    $j('.fi-showme-where-link').mouseover(function(event) {
Note: See TracChangeset for help on using the changeset viewer.