Can anybody relate to kml file, that doesn't show good on google maps? I tried this with KMLSampler with Google Earth plugin and this file shows just fine.I suspect it's a conversion or drawing problem in Polyline class, since the file appears to be ok. I uploaded the file, it's called Faults.kml. Whoever from google or guys, who familiar with Google maps API, please advise...
Thanks, Nava On Sep 24, 1:09 pm, Nava Carmon <[email protected]> wrote: > Hi Pamela, > > I have another small question on kml file i uploaded under the name > faults.kml. It shows good in Google Earth, but has some misbehavior on > google maps. > Screenshot attached: > > PastedGraphic-1.png > 356KViewDownload > > > > If you'll take a look on 3 points on the right: when these points are > not in the visible boundaries of map, fault lines show fine, but once > i move the map and the problematic (probably edge) point becomes > visible, it draws a straight horizontal line till the left boundary of > visible map frame. I'm using your KMLParser and the example, that was > provided. How can i trace this bug? Or fix this? Or may be there is a > special kml file for a flat map? > > Thanks a lot for your help. > > Nava > > On Sep 13, 2009, at 4:42 PM, pamela (Google Employee) wrote: > > > > > > > Hmm. Have you checked out the latest source code from the project? > >http://gmaps-utility-library-flash.googlecode.com/svn/trunk/src/com/g... > > > I renamed Polygon in the KMLparser namespace to KmlPolygon, as it > > seemed the best way to disambiguate the two. Otherwise, the code gets > > fairly confusing to read, and long due to the namespace inclusion. > > > - pamela > > > On Thu, Sep 10, 2009 at 1:12 AM, navac <[email protected]> wrote: > > >> It worked, though as you've mentioned it's not the best way to do > >> that :) > >> btw, it was com.google.maps.overlays.Polygon > > >> On Sep 9, 5:24 pm, Joe <[email protected]> wrote: > >>> i had a typo. should be: > >>> var polygon:com.google.maps.extras.xmlparsers.kml.Polygon= new > >>> com.google.maps.extras.xmlparsers.kml.Polygon(...) > > >>> On Sep 9, 10:22 am, Joe <[email protected]> wrote: > > >>>> hi, > > >>>> You may try including the full path to avoid the conflict. Though > >>>> it > >>>> is a bit ugly. > > >>>> For example: > >>>> var polygon:com.google.maps.extras.xmlparsers.kml:Polygon= new > >>>> com.google.maps.extras.xmlparsers.kml.Polygon(...) > > >>>> On Sep 9, 7:57 am, Nava Carmon <[email protected]> wrote: > > >>>>> Hi, > > >>>>> I'm trying to integrate KMLParser from extra libraries and when i > >>>>> build i have the following error on this piece of code: > > >>>>> var polygon:Polygon = new > >>>>> Polygon > >>>>> (getCoordinatesLatLngs > >>>>> (kmlPolygon.outerBoundaryIs.linearRing.coordinates)); > > >>>>> Description Resource Path Location Type > >>>>> Can not resolve a multiname reference unambiguously. > >>>>> com.google.maps.extras.xmlparsers.kml:Polygon (from /Users/ > >>>>> navacarmon/ > >>>>> Pangeaflex/libs/3rd party/GoogleMapsAPIUtilityLibrary.swc(com/ > >>>>> google/ > >>>>> maps/extras/xmlparsers/kml/Polygon)) and > >>>>> com.google.maps.overlays:Polygon (from /Users/navacarmon/ > >>>>> Pangeaflex/ > >>>>> libs/3rd party/map_flex_1_16.swc(com/google/maps/overlays/ > >>>>> Polygon)) > >>>>> are available. Unknown Flex Problem > > >>>>> I import: > > >>>>> import com.google.maps.overlays.Polygon; > >>>>> import > >>>>> com.google.maps.extras.xmlparsers.kml.*; > > >>>>> the latter contains a Polygon class, so it's indeed ambiguous. > >>>>> How do > >>>>> i integrate it properly? > > >>>>> Thanks a lot for your help, > > >>>>> Nava > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
