How to insert an open street map in asp.net website in visual studio 2017 I try this but it doesnt work <script> function myMap() { var mapProp= { center:new opensteet.maps.LatLng(51.508742,-0.120850), zoom:5, }; var map=new openstreet.maps.Map(document.getElementById("openstreetMap"),mapProp); } </script> <script src="https://www.openstreetmap.org/#map=13/40.6206/22.8749"></script>Thanks!! asked 26 Nov '18, 13:59 chrysa15 SimonPoole ♦ |
What library are you using?
see answer to possible duplicate: https://help.openstreetmap.org/questions/7061/how-can-i-embed-a-map-in-my-website