css updates and zoom limitation

This commit is contained in:
2017-03-26 22:46:59 -04:00
parent 254c48fe71
commit bdda5c11a7
2 changed files with 10 additions and 3 deletions

View File

@@ -51,7 +51,7 @@
<tr><th class="tHeader">Name</th><th class="tHeader">Address</th></tr>
{{#rows}}
<tr id="{{rowNumber}}" class="spotRow">
<td>{{name}}</td>
<td class="name">{{name}}</td>
<td>{{address}}, {{city}}</td>
</tr>
{{/rows}}
@@ -87,7 +87,10 @@
container: 'map',
style: 'mapbox://styles/mapbox/basic-v9',
center: [-73.8966279, 40.7420127], // arbitrary center point
zoom: 10
zoom: 10,
minZoom: 9,
maxZoom: 17,
dragRotate: false
});
var popup = new mapboxgl.Popup({