On Sep 11, 9:51 am, "[email protected]" <[email protected]>
wrote:
> On Sep 11, 3:40 am, Rick <[email protected]> wrote:
>
> >http://www.yohman.com/students/ricardo/survey3.html
>
> > I am working on a survey that incorporates a map for reference. The user
> > votes for streets from a drop down list. I would like the map to zoom to and
> > either highlight the polyline for the selected street, drop a marker on it,
> > or only display that polyline on the map. The goal is to give a user a
> > visual reference of the to/from limits of the street they are selecting.
> > What is the best approach to accomplish this?
>
> It can't be done directly with either KmlLayer or FusionTablesLayer
> (at least currently).

Another option: you might be able to use FusionTablesLayer "dynamic"
styling to highlight the line.

  -- Larry

>
>
>
> > The drop down list was entered using HTML. I have seen similar examples
>
> http://www.advocacy.ucla.edu/Maps/Assembly_map.html
>
> > using fusion tables. Am i better off using this approach?
>
> Depends on what you are comfortable with.  That map uses the geoxml3
> extension to google maps.
> Your kml is fairly complex (lots of small polylines), so you probably
> want to use either KmlLayer or FusionTablesLayer to display it, then
> implement the highlighting/zoom to functionality using geoxml3.
>
> http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_linktoB.htm...
>
> http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_linktoB.htm...
>
> > If this approach is better, how can I convert my KML into a visualized 
> > fusion table that keeps the same color
> > formatting?
>
> I don't know of any way.  You might vote for this enhancement 
> request:http://code.google.com/p/fusion-tables/issues/detail?id=594
>
> The only way I know to do it is to create a column and use that to
> style the polylines, given that the styling already exists in your
> kml, it would be really nice if you could import that with your kml.
>
>   -- Larry
>
>
>
>
>
>
>
>
>
> > Thank You

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