Why not ask your question on the new OpenStreetMap Community Forum?

Hello experts, sorry my English. I need your help, i have web hosting from justhost.com and now I want to display an OSM map on my web site.

How about MySQL, PHP 5. Do I need these?

asked 19 Nov '12, 07:11

Altai's gravatar image

accept rate: 0%

edited 19 Nov '12, 09:26

Frederik%20Ramm's gravatar image

Frederik Ramm ♦

Displaying a web site that contains an OSM map does not require MySQL or PHP. You will only have to write a litte HTML and JavaScript.

See http://wiki.openstreetmap.org/wiki/Deploying_your_own_Slippy_Map for details, or look at http://switch2osm.org/using-tiles/ which has excellent examples for both the OpenLayers and the Leaflet library!

You can have it even easier if you go to www.openstreetmap.org, zoom to your area of interest, click the "export" tab, select "embeddable HTML", and copy+paste the resulting HTML code.

permanent link

answered 19 Nov '12, 09:25

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

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](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:


question asked: 19 Nov '12, 07:11

question was seen: 2,529 times

last updated: 19 Nov '12, 09:26

powered by OSQA