Displaying 1 result from an estimated 1 matches for "locdisp".
Did you mean:
docdisp
2009 Sep 20
0
r30 committed - jslint now passing for google and googlev3
...int, options) {
var map = this.maps[this.api];
var pt = point.toProprietary(this.api);
- if(options && options[''pan'']) {
+ if(options && options.pan) {
map.panTo(pt);
}
else {
@@ -357,7 +359,7 @@
mousePosition: function(element) {
var locDisp = document.getElementById(element);
- if (locDisp != null) {
+ if (locDisp !== null) {
var map = this.maps[this.api];
GEvent.addListener(map, ''mousemove'', function (point) {
var loc = point.lat().toFixed(4) + '' / '' + point.lng().toFixed(4);
@@ -...