Skip to content

Commit

Permalink
Add map tiles for Denver
Browse files Browse the repository at this point in the history
  • Loading branch information
brannondorsey committed Apr 3, 2018
1 parent 59508c9 commit 67168d0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ data/airodump-*.csv
data/wigle_data
package-lock.json
www/js/test-events.js
www/map/tiles/*
!www/map/tiles/.gitkeep
2 changes: 2 additions & 0 deletions www/map/js/map-frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Vue.component('map-frame', {
defaultLoc:[41.887349,-87.677997], // Branger_Briz, Chicago
t:0,
tiles:[
// `http://${location.host}/map/tiles/denver_39.7982_-105.0318_35km/{z}/{x}/{y}.png`,
'http://a.tile.stamen.com/toner/{z}/{x}/{y}.png',
'http://a.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png'
],
Expand All @@ -23,6 +24,7 @@ Vue.component('map-frame', {
this.map = L.map('map-inside-this-template',{
zoomControl:(this.DataZoom=='true')
}).setView(this.mapData.defaultLoc, 13)
.setMaxZoom(17)

// this will trigger setView() once ipinfo is returned
// leaving this commented out for Thousand Oaks Museum
Expand Down
Empty file added www/map/tiles/.gitkeep
Empty file.

0 comments on commit 67168d0

Please sign in to comment.