Whenever I am in VisualEditor and try to click on the map button to add one, it pops up with the window but constantly is loading and doesn't try to show a map. I can't click neither the exit nor save button, but if I press esc then it will let me exit out with nothing. I am on MediaWiki 1.40
Help talk:Extension:Kartographer
> I am on MediaWiki 1.40
So not a wikimedia wiki ?
Yes sorry I tried using it on MediaWiki thinking I could use it like any other extension. But I guess I will have to try to use Maps
How could I draw a circle using Kartographer? This would be useful in describing a radius of action or an operating range.
Kartographer is based on GeoJSON and can only offer what GeoJSON supports. What you can do is to draw a polygon that looks like a circle.
Good day, am I able to use Kartographer on my own personal Mediawiki installation? Thank you.
If you also bring your own map tile renderer. in theory. yes. But that's a pretty theoretical answer. In general for 3rd parties Extension:Maps is a better option.
Thanks TheDJ, experimenting with Maps now, appreciate your feedback.
This post was hidden by The Patriot Woodworker (history)
Could you please provide an example to draw a geoline based on a OSM way? All of your examples seem to refer to relation objects in OSM, not to ways. I wasn't able to modify the geoline example "Interstate Highway I-696" to work with an OSM way. If this is a technical restriction, it should be mentioned in the docs. Thanks a lot!
Probably a too late answer, but OSM cannot identify entities other than relations, in a stable way. Anyone is free to move/replace/split/combine ways "as they like". OTOH, editors usually keep relations in place...
At w:Claremont Colleges#Colleges, it used to render properly, but checking recently, the southernmost college (Pomona) has only an outline, whereas the others have the fill. Any idea why that's happening?
Pomona is (I think) the only one to have a proper relation on OSM, so that might be part of it, but it shouldn't be an issue as it's still linked from OSM to Wikidata.
Generally, that means the relation on OSM has a hole in the outline and thus fill is not possible
Hmm, I just double-checked, @TheDJ, but neither the relation nor the underlying way has been edited in the past 2 years, and I do not spot any holes.
Why is the relation not shown?
It's apparently a geoline
. When I mark it as such it works.
The fact it doesn't work here on the talk page is a fascinating edge-case. As far as I can tell maps with external data just don't work on Flow talk pages because of it's architecture which bypasses pretty much everything other extensions like Kartographer expect.
I hope this helps.
Thanks, that helps a lot! But I guess the parser still has problems with this relation. If I enlarge the map on en:User:Bigbossfarin, the relation disappears. Also changing the color is not possible. One problem could be that the relation consist of many paths.
I included the map in w:Delaware Aqueduct.
Is it possible to set fill-colour (or not fill at all) when showing a .map-files, or are you stuck with the shaded interior?
The .map file can have colors. Here is an example: commons:Data:Bulgaria/149SUSchoolSector.map. Mixing properties when the data source in a .map file is currently not possible. There is an ongoing discussion if this should change, see phab:T323559.
Thanks for the advice!
I understand that on the English Wikipedia, the maplink template creates static maps without zoom buttons and without a scale. Would it be possible to add the scale to those static maps? I find scales really important when dealing with maps, for orientation. Cheers, ~~~~
in desktop version you can click on a maplink frame, to get an interactive version. Greetings
Can I add a linear scale to a map?
This is possible in leaflet (the js map library kartographer uses) however as far as I know it is not implemented in the extension.
the examples on the page show coordinates with a precision of 14 digits. This is silly, and uneducational. My proposal is to truncate the example precision to 4 or 5 digits.
Go ahead, it's probably just a result of editing tooling.