Added support for position hash url support for mtwebmapper (issue #6).

This commit is contained in:
Sascha L. Teichmann
2015-03-01 17:32:46 +01:00
parent 0250a30af4
commit 003d8cc785
2 changed files with 164 additions and 0 deletions

View File

@ -37,6 +37,7 @@
<script src="js/leaflet.js"></script>
<script src="js/Leaflet.Coordinates-0.1.4.min.js"></script>
<script src="js/easy-button.js"></script>
<script type="text/javascript" src="js/leaflet-hash.js"></script>
<script>
@ -114,6 +115,7 @@ L.easyButton('fa-refresh',
},
'Update view'
)
var hash = new L.Hash(map)
</script>
</body>
</html>