Is there an example of how to use JavaScript to send an address to display a map in a HTML webpage?

asked 27 Jun '21, 22:03

QJasper's gravatar image

accept rate: 0%

You can display a map in a html page using the LeafletJS library and show the address with a marker.

See for an example about integrating the map and displaying a marker.

If you don't have the coordinates for an address, you would have to geocode those first. Nominatim will help you in forward geocoding (getting coordinates for addresses), see for more information on geocoding).

permanent link

answered 28 Jun '21, 09:38

Spiekerooger's gravatar image

accept rate: 15%

edited 28 Jun '21, 09:40

Thanks for the information!!!

(28 Jun '21, 16:53) QJasper
Your answer
toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 27 Jun '21, 22:03

question was seen: 1,566 times

last updated: 28 Jun '21, 16:53

powered by OSQA