On Oct 15, 8:22 am, ir261273 <[email protected]> wrote:
> Hi, I wonder whether someone may be able to help me please with a
> query I have around the plotting of co-ordinates on a Google Maps.
>
> I'm using the code below to plot markers from a mysql database onto a
> Google map via a PHP script which also incorporates a sidebar.
>

Please provide a link, not a code dump.

>
> All works as it should but I've now got a problem which I don't know
> how to resolve.
>
> I now have a second set of static co-ordinates that I want to show on
> the same map, but I don't want them to appear in the sidebar. They are
> from the same database but are in a separate table to the one which
> populates the above, and have different fields names. I know that I
> can pull together data from many tables in the PHP script which feeds
> into the above page, but I don't know how to add another complete set
> of co-ordinates onto the same map.
>
> I've done quite a bit of searching on the Interent and I wondered
> whether a KML file would work.

A kml file would work, you could even generate kml from your database
with a PHP script.

Other options:
1. Create a second PHP script for the additional markers with another
handler to put the markers on the map.
2. feed the second set of data through the original code, add a flag
so no entries are added to the sidebar

  -- Larry

> I just wondered whether someone could
> provide some guidance on the best way forward.
>
> Many thanks and kind regards

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to