remove unused mapRect variable, add missing semicolons, non-functional change
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10128 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -155,7 +155,6 @@ OpenLayers.Control.Graticule = OpenLayers.Class(OpenLayers.Control, {
|
||||
if (!mapBounds) {
|
||||
return;
|
||||
}
|
||||
var mapRect = mapBounds.toGeometry();
|
||||
|
||||
//clear out the old grid
|
||||
this.gratLayer.destroyFeatures();
|
||||
@@ -210,7 +209,7 @@ OpenLayers.Control.Graticule = OpenLayers.Class(OpenLayers.Control, {
|
||||
* goes from the center in both directions to the edge.
|
||||
*/
|
||||
//get the central longitude line, increment the latitude
|
||||
var iter = 0
|
||||
var iter = 0;
|
||||
var centerLonPoints = [mapCenterLL.clone()];
|
||||
var newPoint = mapCenterLL.clone();
|
||||
var mapXY;
|
||||
@@ -227,7 +226,7 @@ OpenLayers.Control.Graticule = OpenLayers.Class(OpenLayers.Control, {
|
||||
} while (mapBounds.containsPixel(mapXY) && ++iter<1000);
|
||||
|
||||
//get the central latitude line, increment the longitude
|
||||
iter = 0
|
||||
iter = 0;
|
||||
var centerLatPoints = [mapCenterLL.clone()];
|
||||
newPoint = mapCenterLL.clone();
|
||||
do {
|
||||
|
||||
Reference in New Issue
Block a user