Hi Andrew-

I've uploaded his class to the group:
http://groups.google.com/group/google-maps-api-for-flash/web/PolylineEncoder.as

- pamela

On Thu, Nov 27, 2008 at 7:37 AM, Andrew Ross <[EMAIL PROTECTED]> wrote:
>
> Thanks Pamela
>
> I would be interested in looking at Javier's PolylineEncoder class.
>
> Many Thanks
> Andy
>
> -----Original Message-----
> From: [email protected]
> [mailto:[EMAIL PROTECTED] On Behalf Of pamela
> (Google Employee)
> Sent: Wednesday, 26 November 2008 5:58 p.m.
> To: [email protected]
> Subject: Re: Ajax-like behaviour on Flex
>
>
> Hi Andy-
>
> I'd suggest modifying the code from the InfoWindow -> DB example, but
> change it to serialize the polyline (turn the vertices into a comma
> separated string), and send the polyline string to the database.
> Depending on your database, you may have special spatial types for
> polylines that you can use. If not, then you can just store them as
> text, and de-serialize them when you show them on the map.
>
> You may also look into encoding the polyline, and storing the encoded
> string in the database. Javier has created a PolylineEncoder class for
> AS3 that I can share with you if you'd like to go that route.
>
> - pamela
>
> On Tue, Nov 25, 2008 at 7:26 AM, 2xs <[EMAIL PROTECTED]> wrote:
>>
>> Hi Pamela
>>
>> I am new to flex.
>>
>> Are there any examples regarding submitting coordinates from a
>> polyline to a database. Best practices etc?
>>
>> Many Thanks
>> Andy
>>
>> On Oct 8, 8:22 pm, "pamela (Google Employee)" <[EMAIL PROTECTED]>
>> wrote:
>>> Hey Banzy-
>>>
>>> You should just use a timer set at 7 seconds to re-load the data.
>>> There are a couple examples in the demo
> gallery:http://code.google.com/apis/maps/documentation/flash/demogallery
> .html...
>>>
>>> If that's not what you were looking for, let me know.
>>>
>>> - pamela
>>>
>>>
>>>
>>> On Wed, Oct 8, 2008 at 4:02 PM, banzy <[EMAIL PROTECTED]>
> wrote:
>>>
>>> > HI again,
>>>
>>> > Thanks Pamela for the link. I've already tested this code before
>>> > write my post and I understand very well how it works (I was the
>>> > main programmer athttp://www.gestracking.com/en/a huge project 100%
>
>>> > web software for real-time GPS fleet control with Google Maps). But
>
>>> > I'm novice in Flex and I can't make the makers refresh their
>>> > locations if the XML changes dynamically without events
>>> > intervention, just time for refresh. On the standard project we
>>> > wait 7 seconds before asking via Ajax to thedatabasefor new data of
> vehicles in movement.
>>>
>>> > Cheers
>>>
>>> > Banzy
>>>
>>> > On Oct 7, 11:29 am, "pamela (Google Employee)"
>>> > <[EMAIL PROTECTED]>
>>> > wrote:
>>> >> Hi banzy-
>>>
>>> >> This article on loading in XML in AS3 should help
>>> >> you:http://code.google.com/apis/maps/articles/phpsqlflex.html
>>>
>>> >> - pamela
>>>
>>> >> On Tue, Oct 7, 2008 at 6:27 PM, banzy <[EMAIL PROTECTED]>
> wrote:
>>>
>>> >> > We are changing our app (Ajax, mysql, php, google maps) to the
>>> >> > Flash Google Maps app but the first problem we have is on the
>>> >> > load dynamic XML data. Ajax solved that question on the othe app
>
>>> >> > but, how could we do the auto regeneration of dynamic data on
>>> >> > Flex? Thanks- 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