Fix commas in Click example thanks to helpful patch from Pedro Simonetti.

(Closes #1525)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@6997 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2008-04-23 03:27:00 +00:00
parent cb3897948a
commit 52ae402ebf

View File

@@ -30,7 +30,7 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, {
);
this.handler = new OpenLayers.Handler.Click(
this, {
'click': this.trigger,
'click': this.trigger
}, this.handlerOptions
);
},
@@ -39,7 +39,7 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, {
var lonlat = map.getLonLatFromViewPortPx(e.xy);
alert("You clicked near " + lonlat.lat + " N, " +
+ lonlat.lon + " E");
},
}
});
var map;