[Mapserver-users] Dbox user error or code correction?
Steve Lime
steve.lime at dnr.state.mn.us
Tue Feb 3 14:39:21 PST 2004
There certainly should have been quotes. I'll make the change on my end
if I haven't already. Thanks for letting me know.
Steve
>>> "Jason M. Nielsen" <jnielsen at aero-graphics.com> 2/3/2004 3:35:48 PM
>>>
I do not know if I am just doing things wrong or what but I was making
a toolbar
option to zoom to the absolute extents of the map and noticed that an
error in
the javascript console stating that "map" was undefined. Upon
inspection I
noticed that the below function had "map" with no " or '. Again, I
dont know if
I just didt something incorrectly resulting in this or not but I just
put the
word map inside ' and now it works.
This is in the "mapserv.js" file.
If I am calling this thing wrong someone let me know or maybe I have an
old
version of the code etc.
function Mapserv_zoomdefault()
{
this.mode = 'map';
this.extent = this.defaultextent;
this.cellsize = AdjustExtent(this.extent, this.width, this.height);
this.draw();
}
-Jason
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list