Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected function getbusinessesBtn_clickHandler(event:MouseEvent):void
- {
- getBusinessResult.token = businessService.getBusiness(business);
- }
- protected function getBusiness_resultHandler(event:ResultEvent):void
- {
- var businesslist:ArrayCollection = event.result as ArrayCollection;
- for(var i:int=0; i<businesslist.length; i++)
- {
- var businessMarker:Marker = new Marker(new LatLng(businesslist[i].latitude, businesslist[i].longitude));
- Map.addOverlay(businessMarker);
- }
- }
Add Comment
Please, Sign In to add comment