[mapguide-users] RE: patch for Mouse Wheel Zoom,
set scale andimage on loading map in Ajax.
Chris Claydon
chris.claydon at autodesk.com
Wed Apr 4 10:24:47 EDT 2007
It looks like the dynamic update for the slider is disabled, except for
IE. However, with a small modification I can make it work on Firefox
too...
In ajaxmappane.templ, in the DragSlider() function, try changing this:
img = document.getElementById(msie? "img1div": curimg);
if(msie && img)
{
imgs = img.style;
...
To this:
img = document.getElementById(msie? "img1div": curimg);
if(img)
{
imgs = img.style;
...
It works on my version of Firefox, I'd be interested to know if it works
for you. I'll need to test this on Opera and Safari also.
Chris.
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jose Manuel
C G
Sent: April 4, 2007 1:21 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] RE: patch for Mouse Wheel Zoom, set scale
andimage on loading map in Ajax.
I'm a AutoCAD user. You can change the function to zoom. Choose your
preferences.
About your 1st point, I agree with you. But this is implemented in
IExplorer, in Firefox doesn't work, and I'm a Firefox user.
I the 2nd point, I don't use the DWF viewer, but you are free to change
the
source.
I'd like to implement a mini-map like in GMaps. What do you think about
that?
--
View this message in context:
http://www.nabble.com/patch-for-Mouse-Wheel-Zoom%2C-set-scale-and-image-
on-loading-map-in-Ajax.-tf3491633s16610.html#a9832240
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
More information about the mapguide-users
mailing list