Ignore:
Timestamp:
Dec 7, 2011, 5:39:56 AM (12 years ago)
Author:
rvelices
Message:

rv_gmaps towards full maps api v3 migration

File:
1 edited

Legend:

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

    r12698 r12700  
    44        this.options = jQuery.fn.extend(
    55                {
    6                         reload_data_timeout: 500,
     6                        reload_data_timeout: 200,
    77                        rectangle_of_confusion: new google.maps.Size(32,16)
    88                }
     
    9292                        if ( this._map.getZoom() <= this._previousLoadDataReq.zoom )
    9393                                return;
    94                         else
    95                         {
    96                                 if (
    97                                         this._map.getZoom() == this._previousLoadDataReq.zoom + 1
    98                                         && this._map.getZoom() < this._map.getBoundsZoomLevel(this._previousLoadDataReq.resultBounds)
    99                                         )
    100                                 {
    101                                         if (document.is_debug) google.maps.Log.write('no load: zoom crt: '+this._map.getZoom()+'; prev: '+this._previousLoadDataReq.zoom+'; target: '+this._map.getBoundsZoomLevel(this._previousLoadDataReq.resultBounds));
    102                                         return;
    103                                 }
    104                         }
    105                 }
    106                 else
    107                 {
    10894                }
    10995        }
Note: See TracChangeset for help on using the changeset viewer.