Not sure if this is a bug, or the right forum, but think it is more API related.I imported a brand new FV3.0 uncompiled to make sure it wasn't due to any of my "customizations".Modified the existing config to load the esri fire mapservice as type="feature" and type="dynamic" <geometryservice url="http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer" /> <!-- UI elements --> <widget left="10" top="50" config="widgets/Navigation/NavigationWidget.xml" url="widgets/Navigation/NavigationWidget.swf"/> <widget right="-2" bottom="-2" config="widgets/OverviewMap/OverviewMapWidget.xml" url="widgets/OverviewMap/OverviewMapWidget.swf"/> <widget right="20" top="55" config="widgets/MapSwitcher/MapSwitcherWidget.xml" url="widgets/MapSwitcher/MapSwitcherWidget.swf"/> <widget left="0" top="0" config="widgets/HeaderController/HeaderControllerWidget.xml" url="widgets/HeaderController/HeaderControllerWidget.swf"/> <map wraparound180="true" initialextent="-14083000 3139000 -10879000 5458000" fullextent="-20000000 -20000000 20000000 20000000" top="40" addarcgisbasemaps="true"> <operationallayers> <layer label="Dynamic Fires" type="dynamic" visible="false" alpha="1" visiblelayers="0" url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/MapServer"> <sublayer id="0" popupconfig="popups/PopUp_Fires.xml"/> </layer> <layer label="Feature Fires" type="feature" visible="true" alpha="1.0" popupconfig="popups/PopUp_Fires.xml" url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/MapServer/0"/> </operationallayers> </map>
If I turn on the type="feature", click on a point/icon, it will popup the info and let me click the zoom to button and it will zoom there (at least until I get to the last LOD). I can click elsewhere in the map all I want (as if panning around the map), then click on the zoom to button (since the popup window is still active), and it will again zoom to the point.However, if I try the same thing with type="dynamic", it will select the point and show the popup window. If I click ANYWHERE else on the map, then click the zoom to button, I get the following error:TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.esri.ags.skins::PopUpRendererSkin/zoomToButton_clickHandler() at com.esri.ags.skins::PopUpRendererSkin/__zoomToButton_click()
So, it seems to be losing its mappoint geometry when you click elsewhere on a dynamic layer, but not a feature layer?Has anyone else seen this behaviour, and if so, is there a fix?Thanks again,R_