I using maps flex api with esri flex api trying to overlay my
buildings overlay on top of a google map, howver, I am gettin a mis-
registration of the maps. My maps are in the correct projection and
work correctly using the javascript api. I suspect I haven't added all
the code or the right lat-long call to the code (i'm using same
parameters as javascript).

 <mx:Script>
                <![CDATA[
                        import com.google.maps.LatLng;
                        import com.google.maps.Map;
                        import com.google.maps.MapEvent;
                        import com.google.maps.MapType;
                        import com.esri.ags.Graphic;

            import com.esri.ags.SpatialReference;
            import com.esri.ags.geometry.Extent;
   private function onMapReady(event:Event):void {
   this.map.setCenter(new LatLng(33.212, -87.541), 14,
MapType.NORMAL_MAP_TYPE);
       }    ]]>
       </mx:Script>

       <esri:Map id="myMap">
       <esri:SpatialReference wkid="4326"/>
       <esri:ArcGISDynamicMapServiceLayer
id="Campus_Bldgs_wgs">
                        <esri:url>http://myserver/ArcGIS/rest/services/WGS84/
Campus_Bldgs_wgs/MapServer</esri:url>
                </esri:ArcGISDynamicMapServiceLayer>
                 </esri:Map>
</mx:Application>
--~--~---------~--~----~------------~-------~--~----~
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