Changeset 10482


Ignore:
Timestamp:
Jul 11, 2010 11:45:19 PM (6 years ago)
Author:
fredj
Message:

add missing semicolon, remove global and unused variables, remove unreachable code

Location:
trunk/openlayers/lib/OpenLayers/Layer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openlayers/lib/OpenLayers/Layer/Google.js

    r10479 r10482  
    497497            } catch (e) {
    498498                throw(e);
    499                 return;
    500499            }
    501500            // cache elements for use by any other google layers added to
  • trunk/openlayers/lib/OpenLayers/Layer/Google/v3.js

    r10480 r10482  
    5757            this.type = google.maps.MapTypeId.ROADMAP;
    5858        }
    59         var mapObject, termsOfUse, poweredBy;
     59        var mapObject;
    6060        var cache = OpenLayers.Layer.Google.cache[this.map.id];
    6161        if (cache) {
     
    129129
    130130        var cache = OpenLayers.Layer.Google.cache[this.map.id];
    131         var container = this.map.viewPortDiv
     131        var container = this.map.viewPortDiv;
    132132
    133133        // move the ToS and branding stuff up to the container div
     
    306306        var res = this.map.getResolution();
    307307        var extent = this.map.getExtent();
    308         px = new OpenLayers.Pixel(
     308        var px = new OpenLayers.Pixel(
    309309            (1/res * (lon - extent.left)),
    310310            (1/res * (extent.top - lat))
Note: See TracChangeset for help on using the changeset viewer.