On Jun 6, 8:23 am, Sam Doyle <[email protected]> wrote:
> Hi,
>
> I'm fairly new to maps api v3 and fusion tables (beta). Although
> fairly familiar with Google Maps API.
>
> I've taken a KML from a client and imported it into fusion tables.
> This has been successful, I'm querying the fusion tables database with
> no problems.
>
> I have linestrings which draw out Pipes. What I want to be able to do
> is the following:
>
> > Plot a marker at the center point of each line drawing, when zoomed out, 
> > markers will be visible, when zoomed in markers disappear but line drawing 
> > is now visible.

You should be able to do this with a GMap zoom_changed listener (when
it fires, check the current value of zoom and display/hide the markers/
polylines depending on what it is).

If you have your markers/polylines displayed via a query on the
FusionTablesLayer, you could just change the query based on the zoom
(and if you want to, on the last value, only changing the query if you
crossed over the zoom that causes it to change).

> > Around each line drawing I want to add a "BUFFER" of 5 meters, essentially 
> > just marking the 5 meters around each pipe line.

That is more problematic, try searching the group for parallel lines
(although you might need to go back to the v2 group for useful
answers).

  -- Larry

>
> Any help would be EXTREMELY helpful. I have spent the pasy 2/3 days
> googling around to find these answers.
>
> Sam

-- 
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