I can e-mail you my code for Kml2x.as, Namespaces.as (and
KmlObject.as, I believe) later that evening (well, at least it'll be
evening for me, in Moscow).

On Sep 25, 12:29 pm, "pamela (Google Employee)" <[EMAIL PROTECTED]>
wrote:
> Hey abr-
>
> I wonder what your hack looks like for supporting multiple KML
> namespaces - I've been dreading adding that in myself.
>
> The FAQ for the project has info on steps to become a contributor (its
> really 
> easy):http://code.google.com/p/gmaps-utility-library-flash/wiki/FrequentlyA...
>
> Good luck with your project!
> - pamela
>
>
>
> On Tue, Sep 23, 2008 at 2:25 AM, abr <[EMAIL PROTECTED]> wrote:
>
> > Yes, that would be great. Well, that is - after my current project is
> > done (by the end of week). There is so tight schedule that we have no
> > time to think about writing good code, so quick&dirty hardcode occurs
> > pretty often.
> > So my "patch" now is not so good... For example, in order to support
> > KML 2.1 as well as KML 2.2 I had to make some ugly modifications to
> > Namespaces.as, Kml22.as (which ended up being Kml2x.as) and
> > Coordinates.as. And there is "trace(something)" everywhere :).
>
> > But certainly, when time will be available - I can clean my code and
> > join the project.
>
> > Oh, but I must know what should I do to join? (beside installing svn-
> > client, which I already have). Or I can just submit changes?
>
> > On Sep 23, 10:55 am, "pamela (Google Employee)" <[EMAIL PROTECTED]>
> > wrote:
> >> Ah, great to hear you used KMLParser. Would you be interested in
> >> joining the project and submitting a patch for MultiGeometry support?
> >> That was something that I just didn't have time to put in at the time,
> >> and wasn't sure of the usage.
>
> >> - pamela
>
> >> On Mon, Sep 22, 2008 at 1:54 AM, abr <[EMAIL PROTECTED]> wrote:
>
> >> > Hi pamela!
>
> >> > Yes, I have seen that great example. It helped me to test my
> >> > implementation of countries selection with some effects such as fading
> >> > when selection is gone.
> >> > But there is more info in our KML-s than just borders, namely id for
> >> > linking with other database objects in system, so those shapes are of
> >> > no help for me in this task.
>
> >> > But I was able to add partial MultiGeometries support to
> >> > GoogleMapsAPIUtilityLibrary. Next to create complex polygons from
> >> > MultiGeometry I had to write PolylineEncoder as there is no way to
> >> > create such polygons just with array of points. Then the task was as
> >> > simple as calling Polygon.fromEncoded(). And it works actually! By the
> >> > end of this project, I believe there will be more complete support for
> >> > MultiGeometries (there is not only countries we are dealing with now,
> >> > you know).
>
> >> > Very helpful for me was KMLParser example. In fact most of the
> >> > debugging was done by using it with my MultiGeometries implementation.
>
> >> > On Sep 22, 9:39 am, "pamela (Google Employee)" <[EMAIL PROTECTED]>
> >> > wrote:
> >> >> Hi abr--
>
> >> >> Can you use the data used in the example in this article, which
> >> >> creates polys out of country border 
> >> >> data?http://gvlt.wordpress.com/2008/05/17/tutorial-thematic-mapping-with-t...
>
> >> >> - pamela
>
> >> >> On Sat, Sep 20, 2008 at 12:45 PM, abr <[EMAIL PROTECTED]> wrote:
>
> >> >> > I managed to find boundaries in KML-format. Actually it is a
> >> >> > requirement now for my application to use KML-files loaded from
> >> >> > server. Only if it were so easy... Only if all countries were just
> >> >> > polygons... But Russia is not, and USA and Denmark and many others too
> >> >> > - they consist of multiple polygons (MultiGeometry in KML). Only KML-
> >> >> > parser I managed to find (Kml22 in GoogleMapsAPIUtilityLibrary.swc:
> >> >> >http://gmaps-utility-library-flash.googlecode.com/svn/trunk/docs/inde...
> >> >> > ) does not understand tag <MultiGeometry> (and any of its children
> >> >> > consequently).
>
> >> >> > It seems, I am into a bad luck of writing some hardcoded parser just
> >> >> > for my countries (fortunately they consist only of polygons and
> >> >> > nothing else)...
>
> >> >> > On 17 сент, 15:02, abr <[EMAIL PROTECTED]> wrote:
> >> >> >> Well, I agree that geocoding can help me determine the country name.
> >> >> >> But I won't be able to highlight that country without shapes.
>
> >> >> >> On Sep 17, 2:34 pm, Javier de la Torre <[EMAIL PROTECTED]> wrote:
>
> >> >> >> > Have you try geocoding your mouse position?
> >> >> >> > It should give you the country information.
>
> >> >> >> > Or you want to know dynamically on the client?
>
> >> >> >> > Javier.
>
> >> >> >> > On Sep 17, 2008, at 12:30 PM, abr wrote:
>
> >> >> >> > > Hello everyone!
>
> >> >> >> > > In my Flex app I want to be able to determine in which country 
> >> >> >> > > mouse
> >> >> >> > > event occured. Also, I need to be able to highlight some 
> >> >> >> > > countries
> >> >> >> > > (selected by user). As I believe, I have to find some sort of 
> >> >> >> > > shapes
> >> >> >> > > for each country (and also subdivisions for some countries). The
> >> >> >> > > problem is - shapes must match those on Google Maps. As I have 
> >> >> >> > > seen,
> >> >> >> > > Google Maps includes political boundaries for countries. Is 
> >> >> >> > > there some
> >> >> >> > > way to get those (in KML or any other reasonable format, which 
> >> >> >> > > can be
> >> >> >> > > displayed as or converted to flash)?
>
> >> >> >> > > Maybe you have any suggestions as to where can I find country 
> >> >> >> > > shapes?- Hide quoted text -
>
> >> >> >> > - Show quoted text -- Скрыть цитируемый текст -
>
> >> >> >> - Показать цитируемый текст -- Hide quoted text -
>
> >> >> - Show quoted text -- Hide quoted text -
>
> >> - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to