NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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 ♦
44.7k13326701

1

What library are you using?

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

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:

×104
×9
×3

question asked: 26 Nov '18, 13:59

question was seen: 6,470 times

last updated: 30 Nov '18, 13:10

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum