Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

+ testing fusion table

  • Loading branch information...
commit 121d8bcdd12021233fd23f55c6c5dde4349afc55 1 parent 6f04a43
@janpanschab janpanschab authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 php/js/core.js
View
12 php/js/core.js
@@ -17,6 +17,7 @@ var app = {
app.map = new google.maps.Map(document.getElementById(app.MAP_ID), myOptions);
app.geolocation();
+ app.showIcons();
},
geolocation: function() {
@@ -61,6 +62,17 @@ var app = {
map: app.map,
title: 'I\'m here!'
});
+ },
+
+ showIcons: function() {
+ var layer = new google.maps.FusionTablesLayer({
+ query: {
+ select: 'lat',
+ from: '1Ghm80xH5iVf2Hhl82D2GD0X4lTEngI457i3skhg'
+ }
+ });
+
+ layer.setMap(app.map);
}
};
Please sign in to comment.
Something went wrong with that request. Please try again.