Topic on Extension talk:Maps

Geocode and map showing the wrong location

3
Squeak24 (talkcontribs)

Hi,

I have put together a map that will place a marker down depending on what the user puts in form.

I have tried using the command for the geocode as:

{{#geocode:{{{Address}}}, {{{City}}}, {{{Country}}}}}

I then have this display on a map as:

{{#display_map:{{{Address}}}, {{{City}}}, {{{Country}}}~icon.png;}}

The address I am looking for is 123 5th Ave, New York City New York, United States, 10003

Breaking this down, the Address is 123 5th Ave, the City is New York City, the country is United states.

This address should be in Mid-Town Manhattan, but on the map, it is showing it as being in Brooklyn.

Also, I want to drop an marker down, in this instance I am using an icon.png, but it's not showing. I have tried using the default set up for Berlin and the marker has been dropped.

Any ideas what I am doing wrong?

Any help is appreciated.

Squeak24 (talkcontribs)

Ah, I see what I did wrong now. I have changed New York City to Manhattan. But still having issues with the marker

Squeak24 (talkcontribs)

I think I have sorted the marker issue out now.