All - I have a main application mxml that defines a map. I then have
some sub-components that act on that map. Currently for ease of coding
I'm passing a reference to the map to the child component.  One of the
child components creates a series of marker overlays but when I call
openInfoWindow on one of the markers I get the following error:
TypeError: Error #1009: Cannot access a property or method of a null
object reference.
        at com.google.maps.core::MapImpl/getControlRect()
        at com.google.maps.core::MapImpl/calcOffsetForViewportRegion()
        at com.google.maps.core::MapImpl/panToViewportRegion()
        at com.google.maps.core::MapImpl/openInfoWindow()
        at com.google.maps.overlays::Marker/openInfoWindow()
        at com.google.maps.wrappers::IMarkerWrapper/openInfoWindow()
        at <anonymous>()[C:\Development\flex\MapsDemo\src\comp
\PolicySearch.mxml:146]
        at <anonymous>()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()


Any thoughts?
Thanks
Bryan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to