Alexis, I have not the time to dive deep into your problem, but you probably have to
- simplify your polylines / reduce detail - encode the simplified polylines check another post at: http://groups.google.com/group/google-maps-api-for-flash/browse_thread/thread/b55dbc5144f0406a/a8f056f2a4b008d4?lnk=gst&q=holtkamp#a8f056f2a4b008d4 Cheers and good luck. On Feb 1, 6:07 pm, Alexis <[email protected]> wrote: > Thanks for the reply but I really need all of those polygons.. > I'll give a sample here of my problem.. > > in this first picture, using google earth it shows the the different > regions quite > nicelyhttp://s905.photobucket.com/albums/ac259/telegis/?action=view¤t... > > but when i tried to get some of the polygons from the google earth or > the KML file, this is what > happenedhttp://s905.photobucket.com/albums/ac259/telegis/?action=view¤t... > > the polygons did not show up properly, as far as i know, it shouldn't > be like that > what I'm thinking is that.. is there a way for me to encapsulate each > polygon so that for every addition > of overlay/polygon in the google map, it will not affect the other > polygon and will not result to something > similar to the second image? > > please help me, i really need help, my deadline is fast approaching > thank you very much again. > > On Jan 18, 9:21 am, Jonathan Wagner <[email protected]> wrote: > > > > > So you have a large KML files, and you want to render portions of it > > in Google Maps, correct? > > > If the KML is too large you're going to have problems loading it into > > either Google Maps Javascript or flash api. As far as I am aware, > > there is no difference in coordinate systems between Google Earth and > > Google Maps, what I would recommend is using Google Earth and deleting > > all the polygons you don't want/need, and then you can use Google > > Earth to save the new file with only the selected polygons you are > > looking for. > > > Hope this helps. > > > Jonathan > > Scribblemaps.com > > > On Jan 17, 1:39 pm, Alexis <[email protected]> wrote: > > > > I acquired a KML file containing polygons of the Regions of the > > > Philippines. My problem is that the file is too big in size and > > > contains too many polygons (with lots of coordinates/points). I know > > > that you can open this KML file directly in the Google Map but just > > > like what I have said the file is too large and I need to manipulate > > > the polygons because I'm gonna used it in my project. > > > > I tried extracting some of the polygons of a certain region to test > > > and it did gave me a polygon of a small island (which consist already > > > of long array of points). When I tried to load all the islands of that > > > region.. I got an error saying that.. the script takes time to load.. > > > I waited for it too load and after it finished loading, to my surprise > > > it did not load the polygons the same way it loads in Google Earth > > > where it came out good (I tried it first in there). I know I extracted > > > the right coordinates/points in the KML file so why did my polygons > > > got scrambled in the map? are they not compatible? (Google Earth > > > coordinates and Google Map coordinates). > > > > If ever i did not resolve this? what do you think is the best thing to > > > do? > > > --to the problem that it takes time to load all of those polygons > > > --fixing the polygons that got scrambled > > > --and if ever, can you give me an easy way to create a polygon and get > > > the coordinates of it and save it, maybe I'll just try to make my own > > > polygon if ever I can't use the KML anymore.. > > > > I'm sorry for my bad English, I hope you understand some of what I'm > > > saying here.. > > > I badly need help right now, because I have a deadline for this one > > > > Thanks a lot :) -- 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.
