0

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
11224
accept rate: 0%

edited 30 Nov '18, 13:10

SimonPoole's gravatar image

SimonPoole ♦
40.0k13297634

1

What library are you using?

(26 Nov '18, 23:12) alester
1
(28 Nov '18, 23:18) Krubo

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:

×100
×9
×3

question asked: 26 Nov '18, 13:59

question was seen: 1,839 times

last updated: 30 Nov '18, 13:10

powered by OSQA