0

I'm creating a map of bus lines and i have a query that display multiple polylines on a map (Fusion Table). I want to display the name of each polyline in text(string) on the page. It could be any form: infowindow, sidebar,only text.

query: 
{
    select: 'geometry',
    from: 'tableid',
    where: 'ST_INTERSECTS(geometry, CIRCLE(LATLNG(-8.754864219111248, -63.87663083648681), 200))' 
}

I was looking for some examples but i didnt understand how to export the name of the polyline to text form: example 1 example 2

user35280
  • 3
  • 1
  • 3
  • display when? Without any user-action or e.g. when a user clicks on the polyline? – Dr.Molle Feb 17 '15 at 21:08
  • The query show all the polylines and under the map it shows the text (name of polylines) without clicks. – user35280 Feb 17 '15 at 21:21
  • This can't be done via a FusionTablesLayer, you must request the data separately. See: https://developers.google.com/chart/interactive/docs/fusiontables or https://developers.google.com/fusiontables/docs/v1/sql-reference#Select – Dr.Molle Feb 17 '15 at 21:29

0 Answers0