I will give the proxy solution a look, thank you! One last question if I may, how are you dealing with KMZ?
Cheers, Nate On Sep 14, 6:12 pm, mic <[email protected]> wrote: > It's actually built on the Parser by Pamela, it uses the parser to > interpret the kml and then creates the appropriate overlay objects to > add to a Map instance > > To setup a proxy you'll have to have a server you control. Then write > a small script that basically loads the kml file from the server and > echoes the data back. On this server you'll place a crossdomain.xml > file allowing your swf access to the script. > > so you'll then pass the location of this proxy to your kml loader: > > http://address.of.server/proxy.script?url=original-kml-file-url > > There are many examples to create these proxy scripts on the net, but > they depend on the type of server etc. > > eg: php script:http://www.daniweb.com/code/snippet216729.html > > Hope that helps, > Michael > > On Sep 15, 4:04 am, Tw1nkie <[email protected]> wrote: > > > > > Michael, > > > Thank you for the reply. This looks similar to the KML Parser that > > Pamela Fox created. How are you handling KMZ? > > > Our biggest challenge right now though is working through the Flash > > security model though. Do you have an example solution for using a > > proxy loader with KMZ/KML? > > > -Nate > > > On Sep 13, 6:58 pm, mic <[email protected]> wrote: > > > > Hi, > > > > We're currently integrating our KmlLoader into the gmaps utility > > > library but you can get it from here at the moment: > > > >http://labs.distriqt.com/post/251 > > > > However you'll still have to obey the flash player security model. So > > > you may have to setup a proxy loader or such to get around the > > > crossdomain issue. > > > > Michael > > > > On Sep 14, 9:20 am, Tw1nkie <[email protected]> wrote: > > > > > Greetings, > > > > > Is there an efficient way of loading KML feeds from remote servers > > > > (that I cannot add a crossdomain file to) with the Google Maps Flash > > > > API? -- 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.
