Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#display_map kml support broken for Google Maps #259

Closed
Flexmaen opened this issue Oct 8, 2016 · 6 comments
Closed

#display_map kml support broken for Google Maps #259

Flexmaen opened this issue Oct 8, 2016 · 6 comments

Comments

@Flexmaen
Copy link

Flexmaen commented Oct 8, 2016

With the update of the map plugin i suddenly get the error: <maps-kml-parsing-failed> when trying to display a KML file on the map which worked before.

Here is an example KML:
http://www.grazwiki.at/images/b/b0/Rundgang_Herz-Jesu.kml

@kghbln
Copy link
Member

kghbln commented Oct 8, 2016

What are the versions of PHP, MW and Maps?

Apart from that: Using kml is an undocumented feature. Just recently added the docu for Semantic Maps. Have not used this so I cannot even tell which syntax should work somehow. :(

Another issue: If just <maps-kml-parsing-failed> ins shown then the error message is also missing from the code base and should be added, too.

@kghbln kghbln added the bug label Oct 8, 2016
@JeroenDeDauw
Copy link
Member

http://www.grazwiki.at/Spezial:Version

Maps 3.8.2
Semantic Maps 3.4.0-alpha (392d931) 11:36, 18 July 2016

Is that the version for which it fails? With what version did it work before? What is the wikitext that causes this?

@Flexmaen
Copy link
Author

Flexmaen commented Oct 9, 2016

I think it was 3.4 or 3.5 where it still worked.

The command is:

{{#display_map:{{{place|}}}
|kml={{{kml file|}}}
|kmlrezoom=yes
}}

So, there were some options like kml= and kmlrezoom=

@JeroenDeDauw JeroenDeDauw changed the title maps unable to render KML #display_map kml support broken for Google Maps Oct 9, 2016
@kghbln
Copy link
Member

kghbln commented Oct 10, 2016

Is that the version for which it fails?

Ah, I was so distracted by the fact that there is no docu ... I guess it is me how will have to add it.

@samwilson
Copy link
Contributor

The kml= option works in Maps 4.0.5, but it requires a full URL (rather than a wiki filename).

@JeroenDeDauw
Copy link
Member

Fixed by f3ff4f7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants