Fusion already includes the mouse wheel handler, see the file fusion/lib/Map.js. and something with mouse event handling would be best created as a custom widget. An example of mouse event handling could be the widgets/Select.js. It would be best to understand how OpenLayers event handling works however.

Mike


On 21/07/2011 6:33 PM, Olcay Ebcin (Coğrafi Bilgi Sistemleri Şube Müdürü) wrote:
Hi,

I created new template using fusion.js and jxlib libraries.
Everything works fine. But when I scroll mouse wheel, it is not zooming in/out
I think I need to add mouse event handler.
Should I put some code into index.html or applicationdefinition.xml file?

Can anybody help me how to do it?

Regards,
Olcay Ebcin
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
  • [mapguide-users] F... Olcay Ebcin (Coğrafi Bilgi Sistemleri Şube Müdürü)
    • Re: [mapguide... Michael Adair

Reply via email to