3 Replies Latest reply on Aug 21, 2007 2:43 PM by batmitra

    yahoo maps

    kilyas2007 Level 1
      I am using yahoo maps in my flex application to display a particular address in a map as follows:-
      [code]
      private function getMap():void {
      var arrAddress:Array = new Array(inpAddress, inpCity, inpState, inpZip);
      sendData("setCenterByAddressAndZoom", arrAddress.join(",") + ":~:2:~:0");
      } [/code]

      am using the following panel to display the map:-

      [code]
      <mx:Panel width="607" height="480" title="Yahoo! Maps">
      <mx:SWFLoader id="yahooMap" showBusyCursor="true" width="100%" height="100%"/>
      </mx:Panel>
      [/code]

      Its working great, however I wanted to check, how can I put pointers in the map? I mean a red star or something on the destination address.

      Thanks