Reputation: 451
I've tried to run this code locally, but the map doesn't show up. https://developers.google.com/fusiontables/docs/samples/change_query
This example uses the same table, except for the drop-down and it works running it locally on my computer. http://www.geocodezip.com/v3_GoogleEx_layer-fusiontables-styling_markers.html
I must be missing something, the table is public so there shouldn't be any access issues.
Any thoughts? Thanks in advance!
Upvotes: 1
Views: 452
Reputation: 8819
It's a CSS issue. In the first sample, the CSS is loaded from a location relative to the sample, here:
<link href="/apis/fusiontables/docs/samples/style/default.css"
rel="stylesheet" type="text/css">
So if you save that locally, you'll get it looking for a local style. The map won't show up because the map div isn't sized correctly.
Upvotes: 1