I'm wondering what the situation is regarding the google geocoder. I'm working on a project that uses geocoding and I'm using the google & yahoo geocoder. It seems that in order to use the google geocoder, I need to create a map and add it to a component so that I have access to the geocoder to handle an address input request.
Is this the correct way to implement the google geocoder? is there a workaround or something I'm missing in order to just use the google geocoder without creating a map?? Currently I create it like this: /* component to add the map to */ <mx:UIComponent id="mapContainer" visible="false" width="1%" height="1%" /> /* create the map */ googleMap = new Map(); googleMap.key = GoogleKey.KEY; /* now add the map to the UIComponent */ mapContainer.addChild(gCoders.googleMap); -Only after the above line has been executed do i have access to the Google Geocoder. If this line is not called I always get an exception about not being able to access a null reference even though I've created the google geocoder well ahead of this call any advice/help appreciated! :) cheers erick --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
