Ignore:
Timestamp:
Dec 11, 2011, 8:55:04 PM (12 years ago)
Author:
rvelices
Message:

rv_gmaps can show now different markers based on number of photos at the location

File:
1 edited

Legend:

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

    r12706 r12719  
    3737{
    3838        this._urlMapData = urlMapData;
    39         google.maps.event.bind( this._map, "movestart", this, this.clearTimerReloadData );
     39        google.maps.event.bind( this._map, "dragstart", this, this.clearTimerReloadData );
    4040        google.maps.event.bind( this._map, "idle", this, this._onIdle );
    4141        //this._loadData();
     
    102102       
    103103        if (isOver)
    104                 bounds = new google.maps.LatLngBounds( new google.maps.LatLng(this._map.getBounds().getSouthWest().lat(),-179.9), new google.maps.LatLng(this._map.getBounds().getNorthEast().lat(), 179.9) );
     104                bounds = new google.maps.LatLngBounds( new google.maps.LatLng(this._map.getBounds().getSouthWest().lat(),-180), new google.maps.LatLng(this._map.getBounds().getNorthEast().lat(), 179.99) );
    105105        //END bug
    106106       
     
    184184        catch (e)       {
    185185                this._previousLoadDataReq.box=null;
    186                 google.maps.event.trigger( this, "dataloadfailed", responseCode, e );
     186                google.maps.event.trigger( this, "dataloadfailed", textStatus, e );
    187187                var s = e.message;
    188188                s += '\n' + data.substr(0,1000);
Note: See TracChangeset for help on using the changeset viewer.