Hi Allyn- The KML is here: http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&output=kml&msid=118030482681960934856.00000112fd16ed0837e83
The GeoRSS is here: http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&output=georss&msid=118030482681960934856.00000112fd16ed0837e83 You could take the coordinates from either of those and use them in your flash application. I wrote a PHP script that converts the KML into a JS array, you could modify that to convert it into an AS3 array, if you're a PHP developer: http://google-maps-api.googlegroups.com/web/convertpoly.php - pamela On Wed, Mar 4, 2009 at 7:56 AM, Jt <[email protected]> wrote: > Pamela, > > Thanks for the feedback. Here's what I'm trying to do. I created a map some > time ago of custom regions/overlays. Which can be view here: > http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=118030482681960934856.00000112fd16ed0837e83&z=11. > > I want to take these custom overlays and display them in a Flash application > using the Google Flash API. The problem is I cannot get the coordinates of > the custom regions/overlays. You mentioned in your response, re-creating the > object in the Flash API by viewing the KML's XML. How do I do this? I do not > see a link for GeoRSS or KML. I need a little guidance. Again, thank you for > the feedback. > > Allyn > > On Mon, Feb 23, 2009 at 1:59 AM, pamela fox <[email protected]> wrote: >> >> Hi Allyn- >> >> The answer isn't necessarily that simple. When you create a "My Map" >> on Google Maps, that map is available as both a KML feed and a simple >> GeoRSS feed. In the JS API, there is a class that takes in a >> KML/GeoRSS URL and displays it the same way it's displayed on maps. >> This is easy to do in the JS API since Google Maps and the API share >> the same JavaScript base. In the Flash API, there is no built-in class >> to do this. >> >> There is, however, an open-source library for parsing and displaying >> KML, linked to from here: >> http://code.google.com/p/gmaps-utility-library-flash/wiki/Libraries >> >> It may require a bit of effort to integrate, however - it's not just >> one line of code. Depending on your ultimate needs, it may be easier >> just to re-create the objects in the Flash API - you can view the >> KML's XML to see all the coordinates information. >> >> Hope that helps; let me know what needs further clarification. >> >> - pamela >> >> On Sat, Feb 21, 2009 at 9:58 AM, Allyn <[email protected]> wrote: >> > >> > I'm sure this answer is out there, I just couldn't find it. So I >> > apologize in advance for the redundancy. >> > >> > Step 1. I have successfully integrated Google maps into my flash app. >> > When the panel is viewed, a generic google map is display at the >> > location I setup. >> > >> > Step 2. I built a custom map in "My Maps" at maps.google.com with >> > polygons, markers, etc. to be displayed in the panel from step 1. >> > >> > Problem: >> > How do I display the custom map from step two (2) as the map for the >> > panel in step one (1)? Do I simply copy the "Link" url from >> > maps.google.com and paste it somewhere in my flash project? It would >> > seem that the solution is quite simple and I'm overlooking it. >> > >> > >> > If this question is already answered where is it? What should I have >> > searched for? I searched for >> > "custom map" >> > "export google map" >> > >> > Thanks for the helpful feedback in advance. >> > >> > Allyn >> > > >> > >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
