Hide icons on Fusion Tables Layer - google-maps

I'm using Fusion tables with Google Maps API. When map's zoom is 0, 1 or 2 Fusion Tables Layer displays icons instead of polygons. Is there a way to make map act normally (always display polygons despite of zoom level)?
Thanks!

No. Instead, I recommend limiting the zoom of the map using the minZoom parameter:
http://code.google.com/apis/maps/documentation/javascript/reference.html#MapOptions

Related

FusionTables layer above polygon

On my website: http://mapa.polskieszlaki.pl/ I'm using FusionTables for displaying markers (over 5000 of them). I've got also GroundLayer with regions (pink ones). But I wanted to change them to polygon (less loading) and have one problem.
FusionTable layer is below polygon and I want it to be above (markers are most important).
Is there a way to do it?
Put the polygon in a FusionTableLayer, load that first, then load the FusionTablesLayer with the markers.

Using two dynamic layers on Google fusion maps

I have created several Fusion table maps, which all work great, but in one of the maps, I want to create a dual layer functionality, so my POLYGON is viewed from the beginning, and when you zoom in, you instead have the functionality of LINESTRINGS. From what I understood, it's not possible to have two active dual layers simultaneously, and having functioning lightboxes for them.
How can I make something like this work?
Here is the example: Parkeringszoner i København
You will need to use the FusionTablesLayer in the Google Maps Javascript API v3
You can have multiple (up to 5) FusionTablesLayers on a single map and write code to change the one being displayed based on the zoom level of the map.

Getting coordinates of polygon areas defined in KML

I have displayed a google map using a KML file as source. The map has a number of polygon areas marked in it. Is there any way to get the center coordinates of each of the polygons without the click event ? I need to display an info window above each polygons when the map is displayed.
Thanks
google.maps.KmlLayer is uses tile based rendering, you can't (at least at present) access the coordinates of the polygons except on a click.
You could use:
FusionTablesLayer, import your KML into that, then query it using either a Fusion Tables API v1.0 or a google.visualization (GViz) query) for the coordinates to get their center.
example using FusionTablesLayer and GViz
A third party KML parser like geoxml3 or geoxml-v3 to render the polygons as native google.maps.Polygon objects, and get their center. This will have performance issues with complex KML.
example using geoxml3

Different color polygons from fusion table in google maps

I am working with putting polygons, obtained from a fusion table onto a google map. Is there a way to make each polygon have its own unique color based on data from another fusion table, such as iterating through each polygon in my fusionTableLayer? If so, how is it done?
You can dynamically style fusion tables using the Google Maps API v3 FusionTablesLayer. You can create up to 5 styles for one FusionTablesLayer on a map.

Fusion Table Layer with polygons AND markers

Using Google Maps API v3
I have a map with the countries coloured using polygons from a Fusion Table Layer. When a polygon is clicked it opens the default Fusion Table info window which has been configured in the web interface.
Some of the countries can't be seen at certain zoom levels so I'd like these countries to have a polygon AND marker, which when clicked open the default Fusion Table info window. I did add a standard map marker but there is no way to open the Fusion Table info window when clicked.
I've read through the docs and looked at the examples but can't see how this is achieved. Is this possible?
Managed to get this working.
I created a second Fusion Table layer and instead of selecting the KML column I selected the Longitude column with a WHERE clause specifying the smaller countries. This renders a layer with markers on the smaller countries which sits on top of the polygon layer.
The only downside is that both the polygon and marker are both clickable which could open duplicate default Fusion Table info windows. Not a major problem though.
You can't access the "default FusionTables infowindow" from an external click event. You can query the FusionTable from your page and display an infowindow containing the same information on a click on a Google Maps API marker (or a sidebar entry).
Example (opening infowindow from sidebar click, not a marker, as you didn't provide an example)