Getting timeout while doing google map request! Encoding problem of "° N"?
Any idea why the request could be failing? The relevant code has not changed for quite a while, and seems to be working quite well, so I'm guessing it's something about your setup that's making the request fail.
Still investigating. A plain "{{#display_points:New York City;Moscow;Berlin}}" produces the same error, so I have obviously have connection problems (Proxy? Intranet? Google-API Key?)...
In case you are using a proxy:
Maps 0.6.6 alpha (on svn trunk) supports the MediaWiki proxy setting [0], which should allow you to use the geocoding services without any problems. Can you give this a try? You can get the code here [1] and here [2]. If you don't know how to get it from svn, I'll build an alpha package for you.
[0] https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Manual:$wgHTTPProxy [1] http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Maps/ [2] http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SemanticMaps/
Would be nice if you could provide a alpha package! Thx a lot! You're right, it's a proxy thing and a data presentation issue. Here are some examples:
== after data migration = as saved (does not work) ==
{{#display_points:coordinates=46.7555539° N, 13.0214349° E|types=normal,hybrid,satellite,physical,earth|title=Gemeinde Irschen|label=9020 Velden<br/>Seeweg 1}}
== alternative 1 (does not work) ==
{{#display_points:coordinates=46° 45' 20" N, 13° 1' 17" O|types=normal,hybrid,satellite,physical,earth|title=Gemeinde Irschen|label=9020 Velden<br/>Seeweg 1}}
== alternative 2 (works) ==
{{#display_points:coordinates=46.7555539, 13.0214349|types=normal,hybrid,satellite,physical,earth|title=Gemeinde Irschen|label=9020 Velden<br/>Seeweg 1}}
Without any special characters, the map is displayed correctly! Otherwise it says "Der folgende Fehler wurde in deiner Syntax gefunden: Einer oder mehrere Werte für Parameter coordinates sind ungültig." Ideas? Rolze
I'll create a release candidate tomorrow so you can see if the proxy issue is fixed.
The coordinates ought to work - this could be a internationalization issue though. The first coordinate is no recognized because your wiki is in German, and is expecting O instead of E. I'll look into adding a setting to always use the English notation, and maybe even something that allows for both. Still, the second one should work.
I tried all notations at my own wiki, and they work without any problem. (In the second one I changed O in E, obviously)