Hi,

I tried to do following stuff . It did not work

<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
xmlns:maps="com.google.maps.*" layout="absolute" width="100%"
height="100%" viewSourceURL="srcview/index.html">
  <mx:Panel title="Test" width="100%" height="100%">
  <maps:Map
    id="map"
    key="ABQIAAAA7QUChpcnvnmXxsjC7s1fCxQGj0PqsCtxKvarsoS-
iqLdqZSKfxTd7Xf-2rEc_PC9o8IsJde80Wnj4g"
    mapevent_mapready="onMapReady(event)"
    width="100%" height="100%"/>
  </mx:Panel>
  <mx:Script>
    <![CDATA[
        import com.google.maps.MapEvent;
        import com.google.maps.Map;
        import com.google.maps.overlays.Marker;
        import com.google.maps.MapType;
        import com.google.maps.LatLng;
        import com.google.maps.LatLngBounds;

    private function onMapReady(event:Event):void {

        map.addOverlay(new Marker(map.getCenter()));

    }


    ]]>
  </mx:Script>
</mx:Application>

Can anybody resolve the issue

On Nov 27, 11:34 am, Bhupender <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> While using
>                 geocoder = new ClientGeocoder();
>                 geocoder.addEventListener
> (GeocodingEvent.GEOCODING_SUCCESS, geocoder_geocodingSuccess);
>                 geocoder.addEventListener
> (GeocodingEvent.GEOCODING_FAILURE, geocoder_geocodingFailure);
>                 geocoder.geocode(textInput.text);
>
> textInput is mandatory to search a location.
>
> Is there any which can avail me the facility of locating my current
> location.
>
> Thankx
--~--~---------~--~----~------------~-------~--~----~
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