Topic on Extension talk:Maps

The map has stopped displaying correctly

6
Antohabio (talkcontribs)

If the query does not specify the coordinates, but the name (city for example), then the map is positioned simply on the center of the planet. If you specify the coordinates, it is centered on the coordinates as needed.

Previously, it worked correctly.

The latest versions of mediawiki, semantic and maps installed.

For example, page Belgium - http://anthecology.org/a/Belgium

205.254.147.8 (talkcontribs)

I'm having the same exact problems. Were you able to resolve?

116.41.199.114 (talkcontribs)

I am using {{#display_map:CITY_NAME|zoom-6|height=400}}

If I write CITY_NAME with English, the map workes well. But if I use Korean name, the map show wrong place.

Would you recommend what to check?

My private wiki used Debian, Mediawiki 1.28.2, SMW 2.5.1.

Antohabio (talkcontribs)

I found that when loading a tab with a map there must be a constriction - google.maps.event.trigger (map, "resize"); - which recalculates the size of the map and the positioning of the markers. However, it is apparently not envisaged in this extension.

Maybe the extension author will be able to add this construct to the required place in the code ??

2001:470:8:C7:0:0:0:1BC (talkcontribs)

Having this same issue. Using city name does not work.

Wmengle (talkcontribs)

Just adding another voice to say that we are also having the same issue when using city names (rather than geo coordinates) for points on a map, they do not display.

Reply to "The map has stopped displaying correctly"