[Phpwm] Phpwm Digest, Vol 199, Issue 3

Tony Serzin tonyserzin at yahoo.co.uk
Wed Feb 10 13:36:12 UTC 2010



-----Original Message-----
From: phpwm-request at mailman.lug.org.uk
Sent: 10 February 2010 12:00
To: phpwm at mailman.lug.org.uk
Subject: Phpwm Digest, Vol 199, Issue 3

Send Phpwm mailing list submissions to
	phpwm at mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
	https://mailman.lug.org.uk/mailman/listinfo/phpwm
or, via email, send a message with subject or body 'help' to
	phpwm-request at mailman.lug.org.uk

You can reach the person managing the list at
	phpwm-owner at mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Phpwm digest..."


If you reply to this 'Digest' email, please change the subject to reflect the post you are replying to. 

If you wish to earn more Brownie points, 
please trim / remove irrelevant posts and content, to keep the conversation clear :)


Today's Topics:

   1. Re: Google Maps API - Plotting a Route (Oliver Mortimer)
   2. Re: Google Maps API - Plotting a Route (Richard Cunningham)
   3. xhp - another facebook release (David Goodwin)


----------------------------------------------------------------------

Message: 1
Date: Tue, 9 Feb 2010 12:02:15 +0000
From: Oliver Mortimer <Oliver.Mortimer at spinningclock.com>
Subject: Re: [Phpwm] Google Maps API - Plotting a Route
To: West Midlands PHP User Group <phpwm at mailman.lug.org.uk>
Message-ID:
	<4C13C5D2934EF8418543932D2C3ECB521D53702E73 at server2k3.spinningclock.local>
	
Content-Type: text/plain; charset=WINDOWS-1252

I'm trying to add multiple points to a map, with polylines joining them together, and then save the points to MySQL to use later.

I don't know a lot about JavaScript, so finding it a bit difficult.

At the moment, I can save 1 point to the database, and I can pull all points that have been saved and show them on a map.  I can also drop markers onto a map with polylines inbetween them, but can't get my head around saving multiple markers to the database. 


-----Original Message-----
From: phpwm-bounces at mailman.lug.org.uk [mailto:phpwm-bounces at mailman.lug.org.uk] On Behalf Of David Goodwin
Sent: 09 February 2010 11:43
To: West Midlands PHP User Group
Subject: Re: [Phpwm] Google Maps API - Plotting a Route

Surely you'd only want to save the end points?

In which case why save to mysql?

Perhaps I'm missing something.


>
> Does anyone know of any good examples on how to plot a route using  
> the Google Maps API, then saving this data to MySQL for displaying  
> later?
>
>
>
> Many thanks,
>
>
>
> Oli

_______________________________________________
Phpwm mailing list
Website : http://www.phpwm.org
Twitter : http://www.twitter.com/phpwm
Facebook: http://www.facebook.com/group.php?gid=2361609907

Post to list: Phpwm at mailman.lug.org.uk
Archive etc : https://mailman.lug.org.uk/mailman/listinfo/phpwm


Oliver Mortimer
Web Developer & ICT Manager


Spinning Clock Ltd | Unit 18 | Beeston Business Park | Technology Drive | Beeston | Nottingham | NG9 2ND
tel: +44 (0) 115 9430777 | direct line: +44 (0) 115 9575320 | fax: +44 (0) 115 943 0888
email: info at spinningclock.com | website: www.spinningclock.com

Unless otherwise stated, any quotes, estimates or proposals attached to or contained within this email are subject to our standard terms and conditions.

Spinning Clock is a Private Limited Company registered in England and Wales Registered Company Number: 4540213.
Registered Office: Unit 18, Beeston Business Park, Beeston NG9 2ND. VAT Registration Number: 806 1879 18.




------------------------------

Message: 2
Date: Tue, 09 Feb 2010 12:06:59 +0000
From: Richard Cunningham <rich at richardcunningham.co.uk>
Subject: Re: [Phpwm] Google Maps API - Plotting a Route
To: West Midlands PHP User Group <phpwm at mailman.lug.org.uk>
Message-ID: <4B714FE3.6030600 at richardcunningham.co.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

If you don't need to index the individual points you could just dump all 
the points in one field with json_encode() or serialize()

Oliver Mortimer wrote:
> I'm trying to add multiple points to a map, with polylines joining them together, and then save the points to MySQL to use later.
>
> I don't know a lot about JavaScript, so finding it a bit difficult.
>
> At the moment, I can save 1 point to the database, and I can pull all points that have been saved and show them on a map.  I can also drop markers onto a map with polylines inbetween them, but can't get my head around saving multiple markers to the database. 
>
>
> -----Original Message-----
> From: phpwm-bounces at mailman.lug.org.uk [mailto:phpwm-bounces at mailman.lug.org.uk] On Behalf Of David Goodwin
> Sent: 09 February 2010 11:43
> To: West Midlands PHP User Group
> Subject: Re: [Phpwm] Google Maps API - Plotting a Route
>
> Surely you'd only want to save the end points?
>
> In which case why save to mysql?
>
> Perhaps I'm missing something.
>
>
>   
>> Does anyone know of any good examples on how to plot a route using  
>> the Google Maps API, then saving this data to MySQL for displaying  
>> later?
>>
>>
>>
>> Many thanks,
>>
>>
>>
>> Oli
>>     
>
> _______________________________________________

[The entire original message is not included]



More information about the Phpwm mailing list