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's gravatar image

chrysa15
113
accept rate: 0%

edited 30 Nov '18, 13:10

SimonPoole's gravatar image

SimonPoole ♦
37.0k13278591

1

What library are you using?

(26 Nov '18, 23:12) alester
1
(28 Nov '18, 23:18) Krubo
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×96
×9
×3

question asked: 26 Nov '18, 13:59

question was seen: 178 times

last updated: 30 Nov '18, 13:10

powered by OSQA