This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

center embedded map

0

hello world, how do i have my embedded map focus on the existing points please? so that I can see my points on http://responsible-mobilities.info/map/ Thanks a lot from Swabia!

This question is marked "community wiki".

asked 21 Dec '17, 18:32

open%20voyage%20project's gravatar image

open voyage ...
26112
accept rate: 0%

edited 21 Dec '17, 19:08

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701

anybody? help!

(15 Mar '18, 17:00) open voyage ...

Can you give a bit more information about what you've done so far? What library are you using? How are you displaying the data? Does your question have anything to do with OpenStreetMap?

(15 Mar '18, 19:05) SomeoneElse ♦

One Answer:

1

Thank you SomeoneElse, in fact the problem has solved itself meanwhile. The map is centered now. Good luck!

answered 17 Mar '18, 06:27

open%20voyage%20project's gravatar image

open voyage ...
26112
accept rate: 0%

Can you explain how you solved your problem? It will help others having the same issue.

(19 Mar '18, 07:44) scai ♦
1

The problem seems to have gotten solved by an update somewhere: the map now automatically centers so that the marker is visible.

(19 Mar '18, 08:54) open voyage ...

Source code available on GitHub .