http://bl.ocks.org/thefitzpaddy/6320612
The example above highlights the issue, which is a combination of bl.ocks Zoom to Bounding Box and Constrained Zoom.
http://bl.ocks.org/thefitzpaddy/6320612
The example above highlights the issue, which is a combination of bl.ocks Zoom to Bounding Box and Constrained Zoom.
D3js Reusable Map is the beginings of an interactive map API based on the D3js library created by mbostock.
The demo lends heavily from the excellent d3js map tutorial with a focus on reusable pattern and help from bleeding edge. That and the many b.locks and d3js tutorials from mbostock that demonstrate d3js usage!
To view the result of this repo visit b.lock #6003064!
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset=utf-8 /> | |
<title>MapBox Outdoors</title> | |
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' /> | |
<script src='https://api.tiles.mapbox.com/mapbox.js/v1.6.3/mapbox.js'></script> | |
<script src='//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-hash/v0.2.1/leaflet-hash.js'></script> | |
<link href='https://api.tiles.mapbox.com/mapbox.js/v1.6.3/mapbox.css' rel='stylesheet' /> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset=utf-8 /> | |
<title>MapBox Outdoors</title> | |
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' /> | |
<script src='https://api.tiles.mapbox.com/mapbox.js/v1.6.3/mapbox.js'></script> | |
<script src='//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-hash/v0.2.1/leaflet-hash.js'></script> | |
<link href='https://api.tiles.mapbox.com/mapbox.js/v1.6.3/mapbox.css' rel='stylesheet' /> |