ThinkGeo.com    |     Documentation    |     Premium Support

Map CurrentScaleChanged Event not there in Web Application

Hi,
I am facing a problem, Map not having CurrentScaleChanged Event in Web Application.That’s why I took OnExtentChanged=“wfMap_ExtentChanged” event.
But it’s not fit for exact my requirement. Having Issues like

  1. First time loading it’s not firing.

  2. Event Pan the Map also, wfMap_ExtentChanged event is firing.

So is there provide only ScaleChanged Event in Web or else just either to Validate the wfMap_ExtentChanged event for not calling on Panning the Map.

Please suggest me some suggestions about it.

Thanks,
Riyaz

Hi Riyaz,

The extent changed include pan and zoom.

I think you can save the scale value in session and adjust whether it’s changed in the extent changed event.

Regards,

Ethan