Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function initmap() {
- map = new L.Map('map');
- new L.Control.GeoSearch({ provider: new L.GeoSearch.Provider.OpenStreetMap() }).addTo(map);
- var osmUrl='http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
- var osmAttrib='Map data © OSM contributors | Marker data © HistorySigns.com';
- var osm = new L.TileLayer(osmUrl,{minZoom:3,maxZoom:18,attribution:osmAttrib});
- map.setView(hull,11);
- map.addLayer(osm);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement