Template talk:Mapframe

From Wikivoyage
Jump to navigation Jump to search

Missing Layer[edit]

"R= Relief map" does not seem to be working... --118.93nzp (talk) 00:13, 15 January 2014 (UTC)

Already running in full-screen mode (extra server). Unfortunately, the automatic update of the mapframe-server had an error. User:Torty3 is the only real expert for this. We have to wait for his return (see User_talk:Torty3). - I can't get access to this server because of my sparse knowledge of the English language. -- Joachim Mey2008 (talk) 07:09, 15 January 2014 (UTC)
I was wrong. I have an old version held ready for the update. Sorry. I will soon rectify. - Joachim Mey2008 (talk) 07:18, 15 January 2014 (UTC)

Missing graphic[edit]

In the last few days we seem to have lost the graphic that used to display in the top right hand corner to indicate that clicking there would change the layers displayed on the dynamic map... --118.93nzp (talk) 00:15, 14 January 2014 (UTC)

Thanks for the note. - It is a new software version has been used. Depending on the setting of your browser chache it can unfortunately lead to various problems. Please first close all Wikivoyage tabs / windows (very important) and then delete your browser cache. Then everything should be displayed normally. -- Joachim Mey2008 (talk) 05:00, 14 January 2014 (UTC)
Thanks for the rapid explanation, Joachim - you're a star! --118.93nzp (talk) 05:12, 14 January 2014 (UTC)

Multiple mapframes[edit]

User:Andyrom75 has expanded the script MediaWiki:Gadget-MapFrame.js for the Italian language version. Now several dynamic maps can be displayed on an article page. Here is an example. Should this functionality be used here? Is perhaps the server load too high? - Joachim Mey2008 (talk) 14:46, 7 March 2014 (UTC) (notice to Torty3, Zhuyifei1999)

I would want to establish that there is a real need for this first. In what types of cases would a second map be needed? Texugo (talk) 14:58, 7 March 2014 (UTC)
Some travel articles have multiple static maps Example. But along with the possibility of clickable 1 markers in the texts should be adequate in most cases one dynamic map. - Joachim Mey2008 (talk) 06:25, 9 March 2014 (UTC)
I can see limited usage for maybe two or three mapframes, but we should be using them in moderation and definitely not for nine different maps. What is the difference between a programmer and software engineer? One can do things, but it is not necessarily the best thing to do. Calling up to nine maps on a single page adds a factor of ten to server load, and also increases page loading time. -- torty3 (talk) 08:25, 9 March 2014 (UTC)
I would like to add multiple maps to hiking itineraries. For example Rheinburgenweg or Coast To Coast Walk can be split into sections. Tried the idea of the whole map but this takes too much page space and leaves no room for photographs. Having part of the route next to the relevant text would be useful. --Traveler100 (talk) 08:28, 1 June 2014 (UTC)
I think it would be very useful to add two relief maps to Saguaro National Park, which is split into two separate sections on opposite sides of the city of Tucson. –StellarD (talk) 13:30, 1 June 2014 (UTC)
For detailed maps, I would point to the example Rheinburgenweg here. The principle: An overview map as iframe (Mapframe) and detailed maps as weblinks. - I also fear that more than three iframes would delay the loading times in an article very much. If actual demand, this issue perhaps should be addressed in the Traveller's Pub. -- Joachim Mey2008 (talk) 17:08, 17 June 2014 (UTC)
I wanted to try two mapframes in one article for Norway because the country is very long, and splitting in north and south (customary) makes it much easier to display with sufficient detail. --Erik den yngre (talk) 16:08, 20 January 2015 (UTC)
Trans-Canada Highway has links to multiple maps, as it has a rather wide aspect ratio if one tries to fit it onto a single map. K7L (talk) 02:45, 21 January 2015 (UTC)

Missing Eat icon[edit]

On the Eastbourne article, the {{Mapframe}} displays all the listings well, but the eat type listings ({{Listing|type=eat...}}) don't display a coloured icon, but a small image missing type square. The full screen map is here and the template is here in the article. Could someone help with this please. I don't know if I've done something wrong or not. Thanks.  Seagull123  Φ  20:15, 17 October 2015 (UTC)

Fixed. While I don't know much of anything about the technical side of the listings, the purple color on the icons in the text at Eastbourne#Eat made me suspicious about the listings. Eat was capitalized, something I've never seen before. I changed it to minor case and now the eateries show up at the map as expected.
A little tip: above the editing window there are seven icons after the text "Listings". Click on the fork and the spoon and it will add a listing with everything correctly formatted. Also if you use the "Add listing" function when in read-mode (I don't use that), I think the listing should automatically be correctly formatted as well. ϒpsilon (talk) 20:46, 17 October 2015 (UTC)
Thank you, ϒpsilon! That's great, I just had no idea what was going on.  Seagull123  Φ  21:21, 17 October 2015 (UTC)

This connection is untrusted[edit]

Swept in from the pub

The {{mapframe}}s just got replaced with this error message:

tools.wmflabs.org uses an invalid security certificate. The certificate expired on 14/09/15 20:43. The current time is 14/09/15 23:09.

K7L (talk) 23:13, 14 September 2015 (UTC)


Works fine for me (Mac OS Mavericks/Chrome). Which OS/Browser combination are you using? (From memory we had similar issues with FireFox in the past) --Andrewssi2 (talk) 23:17, 14 September 2015 (UTC)
Firefox 35.0.1 on Ubuntu 14/x64 which I downloaded from a 1337 warez d00d. My local clock is displaying GMT, not sure if that matters? K7L (talk) 00:29, 15 September 2015 (UTC)
The SSL certificate for *.wmflabs.org in my browser says that it is valid from 24-June-2015 through 14-September-2015, thus it looks like this may be an issue for everyone once the browser clocks roll over to 15-September. I'm about to head out of the door to the airport, but it would probably be worthwhile either pinging User:Mey2008 or someone else with connections to the labs, or else to open a ticket on Phabricator. -- Ryan • (talk) • 00:38, 15 September 2015 (UTC)
Firefox 40.0.3 on Mac OS Mavericks is working for me. The official latest Firefox version for Linux is the same (download here). I suggest updating that in any case. The local clock may also be impacting the certificate, so also best to fix that to your local time zone. --Andrewssi2 (talk) 00:39, 15 September 2015 (UTC)
Same issue here. Chrome 45.0.2454.85 on Windows 7. -- AndreCarrotflower (talk) 00:52, 15 September 2015 (UTC)
Interesting. I'm now getting the 'Connection is untrusted' error for Firefox on both Mac and Windows 8.1. I now also get a 'null' window for Chrome. Andrewssi2 (talk) 01:10, 15 September 2015 (UTC)
To clarify my above comment, the issue is that Wikimedia's SSL certificate for the wmflabs.org domain is expiring at midnight on 14-September; the problem has nothing to do with browser or OS version. Wikimedia will need to renew the certificate, otherwise everyone who tries to access an "https" URL on *.wmflabs.org will soon see this issue when their browser validates (or revalidates) the certificate. I'm at the airport, but someone who will be around to follow-up can open a ticket at Phabricator if one has not already been opened. -- Ryan • (talk) • 01:53, 15 September 2015 (UTC)

https://phabricator.wikimedia.org/T112608 "Looks like it might take us a day or so to renew them." "I think there's a calendar somewhere with expiry dates, and this cert was just missed. I'll verify and make sure there's one such calendar." Syced (talk) 03:09, 15 September 2015 (UTC)

Comment by Negative24 on Phabricator: "Should the Wikivoyage tool perhaps be moved to a production or production-like machine to prevent such occurrences? From what I've heard, anything that breaks the actual page of a Wikimedia wiki (not bot/maintenance tasks) should be put on a higher priority machine. (topic for another task; cc me if one is made)". What should we answer? Syced (talk) 03:09, 15 September 2015 (UTC)

If I remember correctly; http://maps.wikivoyage-ev.org was being looked at a while back... Matroc (talk) 03:43, 15 September 2015 (UTC) - (at one time was used until a problem arose and was switched back to wmflabs.....
Just saw the message as a popup when accessing the Colombo article, but just once. After this no warnings have showed up. ϒpsilon (talk) 04:20, 15 September 2015 (UTC)
Looks to be back to normal now. K7L (talk) 18:51, 15 September 2015 (UTC)
@Syced: Per #Dynamic maps my understanding is that there was still work to be done before https://maps.wikimedia.org was ready for use sitewide. -- Ryan • (talk) • 05:38, 15 September 2015 (UTC)

For a number of months, I've been getting an issue where dynamic maps don't load, just the boxes around them. In my browser's address bar, a little shield can be clicked which gives the message: "This page is trying to load scripts from unauthenticated sources." There's an option to load scripts, which does refresh the page and load the maps for the rest of the session, but will have to be repeated again if I close my browser. I'm using Chrome (45.0.2454.85) on Windows 10 (although was having the same issues on Windows 8.1). If other readers are encountering the same issue, they wouldn't know to load the scripts and would be completely oblivious that we have dynamic maps at all. James Atalk 07:49, 15 September 2015 (UTC)

optional show parameter[edit]

  • {{mapframe}} has an optional parameter - show
  • This parameter if not entered allows the map to show the default groups on a map and in the dropdown layer box.
  • If you only want a specific group or just several groups to appear then use the optional show parameter.
    • | show=eat --- would only show the eat group and not any others
    • | show=drink,eat,do --- comma-delimited list in this example would show these 3 groups

-- Posted this here so it can be clarified and added when a majority of the work on the new maps is finished -- Matroc (talk) 04:47, 12 June 2016 (UTC)

Thanks, now I didn't have to write an angry post here ;). Is it possible to get it to automatically show a GPX route as well? User:Matroc, do you know? Or Joachim?

ϒpsilon (talk) 07:45, 19 September 2016 (UTC)

ϒpsilon or Joachim - I don't know of any way to automatically create a GPX route; however, one can create a GPX route using a {{mapframe}} and a/multiple <maplink>s. There is probably more development going on and things will probably change ... Hopefully an easier method will become available. I took a look at the Siberian Railroad article and the GPX template. I 1st created a mapframe - included one of your tables The Trans-Siberian proper and then added a maplink to draw out the route. (coordinates were garnered from the template, edited and added to the maplink) (added group and show. note: can have multiple maplinks thus multiple routes). You can see results here. What the future brings as development continues: there are probably other possibilities to come. - transclusion possibility of coordinates from another source such as a separate Module or page etc. (which other wikis could use?) Thats all I can think of for now! -- Matroc (talk) 08:07, 21 September 2016 (UTC)
Thanks. Creating a track isn't particularly hard, but getting it to show on the map is apparently much harder now. In the old map you just saved the GPX file and the route appeared on the map for readers to see right away (the same with all types of markers). ϒpsilon (talk) 08:46, 21 September 2016 (UTC)
Also, in the trackpoint parameters of old GPX files, the latitude was listed first, and longitude second. Now it seems the other way around, so one can apparently not just copy the coords to a text editor, replace a couple of tags and copy it back. :( ϒpsilon (talk) 09:08, 21 September 2016 (UTC)
I would expect Open Street Maps and Kartographer to have an easier way to produce routes in the near future by accessing info via Wikidata ID. At least there would be a single source... -- All the best - cheers! - Matroc (talk) 23:17, 21 September 2016 (UTC)
User:Matroc, may I ask a stupid question? What did you use to get the coordinates for the Transsib article? Can already existing GPX tracks be converted to the new format in some easy and quick way? ϒpsilon (talk) 06:12, 23 September 2016 (UTC)
User:Ypsilon, I just took the GPX for Transsib and copied it to Notepad++, made a few replacement passes then did some cut and paste. (Didn't take much time) The process could probably be duplicated somewhat in a Module to be later used in a Sandbox as results may still require a little bit of editorial work (will see what I can do shortly). This would be a temporary step as there will probably be something in the works coming along that will be easier to use and more permanent. GPX templates are still used in geo and as you know the whole maps thing is still in a state of minor flux. Cheers! -- Matroc (talk) 06:43, 23 September 2016 (UTC)
Last time I checked there is some activity in this area -- Matroc (talk) 17:16, 23 September 2016 (UTC)

Name parameter and style updates?[edit]

Hello! Thank you for putting so much work into this great module. Here is my complaint, lol! The name parameter doesn't seem to work. You can see it not working by looking at the linked article: Binnenstad If you do have time to look at this, could you also look at the styling a little bit? It seems like there are two nested 'thumbinner' divs and they are throwing off the borders a bit. One solve would be making the inner one 8px smaller to account for the padding and borders. Thanks again for building this cool map template. --ButteBag (talk) 20:20, 21 October 2016 (UTC)

I fixed this problem. But I think we should also redesign this template as I did on German Wikivoyage. I do it also on English Wikivoyage if you want. --RolandUnger (talk) 06:41, 22 October 2016 (UTC)
Yes, that would be great! Thank you! Although, looking at Mount Sinai for example, the style issue still seems to exist. The inner border is cropped by the outer border. Does that make sense? --ButteBag (talk) 16:12, 23 October 2016 (UTC)
Arg, it keeps linking me to the .en version of the site. Could you provide a link to a German article? Thanks!
I rewrote the template. Please press "Roload" to bring the new styles into action. Some examples: Mount Sinai -- simple one, Fucking with static map, Soltau with GPX. --RolandUnger (talk) 17:14, 23 October 2016 (UTC)
Yo the maps look AMAZING now! Thank you Roland! --ButteBag (talk) 17:39, 24 October 2016 (UTC)

Map Idea[edit]

IDK where to put this, just throwing it out there. It would be cool to repurpose the '3 layers' icon underneath the fullscreen icon. Right now when you hover the layers you can select 'mapnik', 'relief map', etc. Those are cool technical challenges to solve, but as a user it would be cool to have 'See', 'Do', 'Eat', 'Drink', etc checkboxes there instead. Maybe I am interested in seeing only the few shopping listings in a neighborhood with tons of hotel listings. Or maybe there are just too many dang 'Eat' listings on this page and I want to hide them.

Also, just my $0.02, but that 'Explore nearby destinations' button does nothing for me. I'd cut it, but I love cutting things. --ButteBag (talk) 19:47, 1 November 2016 (UTC)

mapframe align issue[edit]

  • align=none in template now appears to be an invalid value attribute for align in <mapframe> -- occurs on 23 article pages now -- don't remember if none was converted at one time to center or not? -- Matroc (talk) 17:45, 18 November 2016 (UTC)
  • In a first version of the Kartographer the map was frameless. The programmers of this template used for map positioning and framing the same CSS classes like for thumb images. You can align thumb images as left-floated/centered/right-floated (left/center/right) which is realized with the class attributes class="thumb tleft"/class="thumb tnone"/class="thumb tright" Therefore a none alignment was used for centered maps. But a parameter specified as none is used neither for images nor for maps. After the reorganization of the maps we learned about this misuse. After a study of both the Mapframe template and the Map module I detected that the alignment was not in use any longer, and therefore within the last weeks all maps were right-floated ones. I will correct the articles affected. --RolandUnger (talk) 16:04, 19 November 2016 (UTC)
    • Category:Pages with broken maps is now empty. --RolandUnger (talk) 16:24, 19 November 2016 (UTC)
    • Thank you Roland. I looked at the Kartographer extension and left, right and center seemed to be the only ones allowed and thought that was the case. I am going to take none out of the documentation for this template. -- Matroc (talk) 18:54, 19 November 2016 (UTC)
  • -- Nevermind it looks like you had already done that change. Again thanks!

Mapframe view changes[edit]

Swept in from the pub

Hello, There a small change coming to interactive maps I would like to share with you. Currently maps using <mapframe> are shown without a frame. After an upcoming update maps will appear inside a small frame with the option of a text caption. Similar to how embedded images work.

Frameless maps are good for insertion as part of a template, whereas framed maps are good for insertion directly into the page, either by hand or by using the visual editor.

  • To insert a map without a frame, add the "frameless" attribute: <mapframe frameless ....>
  • To add a caption, use the text="..." attribute.

Note: Adding the text attribute automatically enables a frame.

If you wish to keep existing templates from showing a frame, please add the frameless attribute. You can do this now without waiting for the deployment.

This change should be enabled on Wednesday, August 31st. For more information please see T143734, start a discussion at mw:Maps, or leave a note below. Thank you. CKoerner (WMF) (talk) 22:31, 25 August 2016 (UTC)

My apologies, this change has already deployed this week. Sorry, my mistake. It seems the mapframe tag looks ok, but please let me know if anything should be changed. Also, I will look at updating the Module:Map to support this feature. Thanks! --Yurik (talk) 22:42, 25 August 2016 (UTC)
I happen to drop by and notice that both Module:Map and {{Mapframe}} still need to be updated to reflect this.. TheDJ (talk) 12:24, 15 September 2016 (UTC)

Allow synonyms for "name"[edit]

I was puzzled when editing Lord of the Rings tourism because the caption wasn't working right. After checking the template doc, I realized it's because someone had put |caption= instead of |name=.

Could this template accept |caption= as a synonym for |name=? "Caption" makes a lot more sense, since the map frame looks the same as an image frame, which has a "caption" rather than a "name". --Bigpeteb (talk) 16:50, 21 March 2017 (UTC)

display with no markers[edit]

Is it possible to show the map frame on a page without any markers being displayed? Would be good to do this for district maps, see Berlin. --Traveler100 (talk) 05:28, 4 May 2017 (UTC)

To do this you can overwrite the show parameter with a parameter which is not see, do, etc. I think nothing is possible. --RolandUnger (talk) 18:25, 6 May 2017 (UTC)
show isn't mentioned as a parameter, but its there to use in the template: For Berlin: <Mapframe|52.500|13.420|width=500|zoom=10|staticmap=Berlin_map_new.png|name=Districts of Berlin|show=mask}} to just show the shaded (masked) areas -- Forgot, show="" will just display the mapframe as mentioned above. --Matroc (talk) 22:58, 7 May 2017 (UTC)

Add alt text[edit]

Per accessibility guidelines, we should add alternative text to this template. —Justin (koavf)TCM 05:53, 8 September 2017 (UTC)

Default zoom[edit]

Why do we think the default zoom is 14? It seems to me that it's 13. Nurg (talk) 09:47, 27 January 2018 (UTC)

Why Poimap2 doesn't display English and Mapframe does?[edit]

As a WikiVoyage editor I can see Poimap2 maps like this one displaying in Chinese, and the first reaction of a foreigner user will be to consider it useless and close it: https://tools.wmflabs.org/wikivoyage/w/poimap2.php?lat=31.2331&lon=121.485&zoom=15&layer=W&lang=en&name=Shanghai/Huangpu But Mapframe here has English: https://en.wikivoyage.org/wiki/Shanghai/Huangpu#/map/0 Since English is already available, how can we enable it (display a map in the language of the device) on the maps that open when "Click for a full screen dynamic map" is clicked on a WikiVoyage page? Szalai.laci (talk) 05:13, 22 May 2018 (UTC)

Mapframe is a substitute of Poimap2. That's why Poimap2 should not be used any longer. The development of Poimap2 and related tools was stopped a few years ago. There well be no further development including language support. If Poimap2 is used on other Wikivoyage branches please replace it by Mapframe. --RolandUnger (talk) 04:55, 24 May 2018 (UTC)
But I'm talking about the small icon on the right top of every page, that will open a map in a new page. I think this button is built-in in WikiVoyage to open tools.wmflabs.org/wikivoyage/w/poimap2.php , I tried London and New York , and they act the same.Szalai.laci (talk) 06:59, 25 May 2018 (UTC)
Poimap2 is not "build-in", it is called by the {{Geo}} template. We made at the German Wikivoyage an almost complete substitution of both the dynamic-map (globe icon) and the GPX-download (GPX icon) tools. We used Javascript to do this. You can see it for instance on the page of Luxor (in Egypt usually Arabic scripts are used). Both tools are in a stable beta state, but we hope that we will finish development in this summer (we had to add external tracks and external geo objects). To use these tools it is necessary to adapt both {{marker}} and {{listing}} templates. We added this dynamic-map tool because all articles use the Geo template whereas not all articles already contain a mapframe map. With Javascript we can create both in-article and full-screen map links. --RolandUnger (talk) 08:06, 25 May 2018 (UTC)

Mapframe with Chrome shows world map[edit]

Swept in from the pub

I have noticed that {{mapframe}} often, but not always, shows a map of the world instead a map of the article's title location when displayed in Chrome. On Chrome, {{mapframe}} shows a map of the world for the Orillia article but the correct map for Leiden. If I edit the Orillia article, then click "Show preview", the correct map appears. (The correct map always appears if the page is displayed in IE or Edge.) What I have done a couple of times is to add extra parameters such as {{Mapframe|43.8690|-79.3121|zoom=11}} as in the Markham article to display the correct map in Chrome. Should I continue doing this where the wrong map is displayed? I noted another discussion on the Chrome browser but I did not understand it. Thanks. TheTrolleyPole (talk) 21:37, 23 July 2018 (UTC)

I realized that as well. Adding the zoom level is sufficient in order to show the map as expected. But this behaviour is strange, anyway.--Renek78 (talk) 21:43, 23 July 2018 (UTC)
I do not use Chrome; however, when I make a mapframe I have usually added zoom and have had no problems. I have seen this type of behavior using maplink or marker as well. Just verify and if need be put in a zoom parameter. (pop up maps are it appears, handled slightly differently due to how a map is created (tiling). -- Matroc (talk) 02:41, 24 July 2018 (UTC)
A few weeks ago we found a JavaScript runtime error at Chrome-based browsers (including Opera) which prevents the full execution of the script which is necessary to add controls and to show the correct map section. It seems that this is not a problem of the browsers but a problem of programme-part dependencies which is done by the resource loader. Unfortunately, the foundation's programmers did not made a software correction until now. The most awkward situation is that the Chrome browsers are the major ones on smartphones. --RolandUnger (talk) 14:35, 24 July 2018 (UTC)
Actually, 80% on mobile, ~60% on desktop... really unfortunate. Andree.sk (talk) 20:33, 24 July 2018 (UTC)
I fixed the Orillia article, but adding zoom only was insufficient; so I also added the lat/long which fixed the problem. TheTrolleyPole (talk) 21:47, 24 July 2018 (UTC)
Personally, I think the best solution is to include coordinates and zoom of a place in all mapframes. --- Selfie City (talk | contributions) 16:06, 21 August 2018 (UTC)

Merging map/marker functionality with de.wikivoyage[edit]

Swept in from the pub

Guys, I came across Template_talk:Mapframe#Why_Poimap2_doesn't_display_English_and_Mapframe_does?. Basically, it looks like the de.WV guys have figured out the issue with markers only using wikidata to gather coordinates (summoning User:RolandUnger, as usual :-)). Basically they got rid of the abandoned poimap2.php wmflabs thing and use javascript to extract whatever is needed. Check e.g. Luxor. In addition, they have a nice popup map on the top, so we could even remove many/most of the {{mapframe}}s added via User:AndreeBot recently in the regions (esp. if the popup map would show by default for the regions). They also have other improvements, e.g. of the listing editor or markers with icons. They don't seem to use region masks or metro mapshapes, but I think that should just continue to work.

I'd almost say it's a good time to combine the efforts and bring back de.WV improvements to en.WV, use the same codebase for both. What do you guys think, do you see any reason why not start preparing this "operation"? Andree.sk (talk) 08:32, 27 July 2018 (UTC)

Until Mapframe type maps support showing your current location like the Poimap does I would strongly object to removing it from articles. --Traveler100 (talk) 09:49, 27 July 2018 (UTC)
Mapframe markers look very similar when printed in black and white, so I would prefer to keep having the alternative Poimap format. AlasdairW (talk) 13:31, 27 July 2018 (UTC)
Today I started to explain marker and map tools as we use it on German Wikivoyage. But it will take time to make this explanation complete. Why I did it? As already stated we made all the programming from scratch. So we should not speak about merging of functionality but about replacing the tool set. That's why I am explaining our tool set. The community should discuss (in future) pros and cons. After a decision, the replacement can be done step by step starting with new marker and listing templates. I think we should do this together with the Hebrew community to check correct right-to-left support.
Of course we payed attention to a high degree of backward compatibility. But it will be necessary to adapt the templates by a bot.
All this is connected with some new concepts. The main one is to rethink the current system of really simple types which is unusable with Wikidata. --RolandUnger (talk) 06:58, 28 July 2018 (UTC)

Is it easy to transfer Mapmasks to OSM ?[edit]

Swept in from the pub

I created many of those for the Hebrew Wikivoyage during the last year and I would like them to be used in other Wikimedia projects (such as Wikipedia). Is it easy to transfer them to OSM/Wikidata? If so, how is that done? ויקיג'אנקי (talk) 16:43, 28 July 2018 (UTC)

It's pretty straight forward, since the mapmask is basically a polygon definition with line segments. Simply convert those to GPX format and import them into JOSM (Java OSM editor). Give it a name so you can search for it through OSM afterwards, and if it makes sense, assign it an administrative boundary by setting the admin_level tag. ArticCynda (talk) 16:50, 28 July 2018 (UTC)
Be careful! Only upload to OSM, if it is an official district boundary. If your boundary lines were set up by you at random in order to divide a city for Wikivoyage district maps then it definitely has no place in OSM. The right place is Wikimedia Commons for that (here is an example for Brussels). You need your polygons in GeoJSON format. If you only have gpx it is necessary to convert them to GeoJSON (geojson.io should work for that. Else JOSM).--Renek78 (talk) 17:37, 28 July 2018 (UTC)
I completely agree, Renek78, although I think we should try to reuse existing OSM data as much as possible and limit the custom maps as in the case of Brussels or Kraainem since they're less flexible and less accessible than OSM data. ArticCynda (talk) 07:34, 31 July 2018 (UTC)

I added a track on the dynamic map of Around the World in Eighty Days but now all the POIs have disappeared[edit]

Swept in from the pub

does anyone know how them make the POIs reappear? (without removing the track) ויקיג'אנקי (talk) 22:22, 5 August 2018 (UTC)

I'm just about to try playing around with this thing. Yes, it seems as though there's a lot of complex code involved with the formation of that map. Selfie City (talk) 23:05, 5 August 2018 (UTC)
I'm sure Traveler100 would know and be able to fix it easily. Selfie City (talk) 23:06, 5 August 2018 (UTC)
There was a parameter to indicate which items are displayed; if you changed it to indicate the track should be displayed, you'll likely have to also list the standard items (come, see, conquer, do, buy, eat, drink, be merry, sleep, pillage, burn, listing...) or they won't appear. It might be worth looking at Trans-Siberian Railway or Oregon Trail to see how they handle this. K7L (talk) 23:23, 5 August 2018 (UTC)
Temporary fix - added show="listing" to mapframe and the POIs now appear... Did this fix while K7L was entering explanation -- Matroc (talk)
marker without a type appears to default to listing and will not show in a mapframe unless show=listing is applied I believe. If you add type=see to all the markers - mapframe without a show parameter should work fine. If you click button icon 1 for Fogg the popup map will appear with that green icon 1 only, if you want the other icons to appear just put in show=listing for the other markers and they will all appear. You can experiment with group and show to see different situation. -- Matroc (talk) 00:02, 6 August 2018 (UTC)
Note: Using {{mapframe}} is not the same as using <mapframe> and there are subtle differences. -- Matroc (talk) 20:29, 6 August 2018 (UTC)
Is there actually a usecase for a "common editor" to use the tag instead of the template? I didn't see one yet, and quite the opposite - the former almost always caused some issues, like markers not showing (=the above). Andree.sk (talk) 20:47, 6 August 2018 (UTC)
Insert > Map in the visual editor (and in its wikitext mode) uses the tag directly. It would be ideal if the tag worked as well as the template; if anyone wants to talk to work-me about this problem, then I'd be happy to file bug reports. WhatamIdoing (talk) 19:30, 8 August 2018 (UTC)

Mapframe problems[edit]

Swept in from the pub

What's wrong with the maps at Bicol and Calabarzon? They just show up as white for me, in both Firefox and Safari. —Granger (talk · contribs) 02:28, 4 September 2019 (UTC)

@Mx. Granger: They are empty: just {{mapframe}} with no geocoordinates. —Justin (koavf)TCM 02:33, 4 September 2019 (UTC)
Hm. Calabrazon is empty too but does display for me. Maybe lacking info at Wikidata? —Justin (koavf)TCM 02:33, 4 September 2019 (UTC)
@Koavf: I don't think the lack of geocoordinates is the problem—many articles, such as Negros, have mapframes with no geocoordinates but still display the map just fine.
Oddly enough, Calabarzon now displays for me too, though I'm sure it didn't 15 minutes ago. —Granger (talk · contribs) 02:36, 4 September 2019 (UTC)
Most of the dynamic maps seem to be broken currently, probably some wikimedia server outage... -- andree.sk(talk) 05:40, 4 September 2019 (UTC)
The problem is because of broken mapshapes. The shapes are added by a JavaScript script which had to load external data. If one of these data is broken the script stops working. That's why the map is empty. The script stop is a known problem. I tried to get the mapshape data manually, and I got the response: "password authentication failed for user \"kartotherian\"". This should not happen. --RolandUnger (talk) 06:19, 4 September 2019 (UTC)
The mapshapes in those articles showed white for me as well. --Comment by Selfie City (talk | contributions) 11:23, 4 September 2019 (UTC)
It seems that the problem is now solved. --RolandUnger (talk) 13:01, 4 September 2019 (UTC)