Select to view content in your preferred language

Map Eventlistener on Zoom_END

517
0
10-27-2010 03:03 PM
vamsi_Sai_KrihsnaNagavalli
New Contributor
Hi,

I am trying to do a query on a layer whenever there is a change in ZOOMEvent.Zoom_END  on the map element.Doing so I get below Action script error popped up everytime, but I get the desired results at the end.

I am using FlexApi v1.3.
Can some one help me resolving this issue.
Thanks in advance.


Error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at com.esri.ags.layers::Layer/updateBitmapSize()
at com.esri.ags.layers::Layer/zoomEndHandler()
at com.esri.ags.layers::GraphicsLayer/zoomEndHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at com.esri.ags::Map/tweenEndHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.effects::TweenEffect/tweenEventHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.effects.effectClasses::TweenEffectInstance/tweenEventHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.effects::Tween/endTween()
at mx.effects::Tween/http://www.adobe.com/2006/flex/mx/internal::doInterval()
at mx.effects::Tween$/timerHandler()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
Tags (2)
0 Kudos
0 Replies