Skip to content Skip to sidebar Skip to footer

IconStyler For Fusion Tables (Google Maps) Won't Pull Column Data

I am building a map using the Google Maps API and have hit a snag. In the table I have a column that labels the iconName for each marker ('mStyle', it's col3). In the following cod

Solution 1:

Click on the map tab in the fusion tables UI, select "Publish", "Get HTML and Javascript". In that code grab the layer definition:

    layer = new google.maps.FusionTablesLayer({
      map: map,
      heatmap: { enabled: false },
      query: {
        select: "col0",
        from: "1UtgWf_kgwI3iUtrWvH3vIbxJfBdutl9oR8Wjqhiv",
        where: ""
      },
      options: {
        styleId: 2,
        templateId: 2
      }
    });

you want the styleId and templateId defined there (looks like 2 and 2 to me).


Post a Comment for "IconStyler For Fusion Tables (Google Maps) Won't Pull Column Data"