Wikipedia talk:WikiProject Maps

The parent of this WikiProject is the Geography WikiProject. WikiProject Maps also is a management type WikiProject for pictorial representations displayed within Wikipedia. The following illustrates the position of WikiProject Maps within the Wikipedia WikiProject lineage:
 * Related WikiProjects

Conventions for visa policy maps
Hello, WP:MAPS. I am currently working on the visa policy of Nauru, and I was wondering if there was any conventions on the colors would be? It seems like the other visa policy articles have a lot of different colors, and I just wanted to be correct. Thanks in advance. — Preceding unsigned comment added by Michael Jester (talk • contribs) 21 August 2014 (UTC)

Shetland islands
just dropping a quick note here as I was asked to look at this Talk:Shetland - looks like it ought to get a combination of File:Wfm_shetland_map.png and File:Shetland_UK_location_map.svg — Preceding unsigned comment added by EdwardLane (talk • contribs) 1 November 2014 (UTC)

Please assess
Please assess Fictitious entry. Thanks! 11:32, 3 October 2018 — Preceding unsigned comment added by Asianflavoure (talk • contribs) 4 October 2018 (UTC)

Evaluation
Hi there, I came here from WikiProject Eurovision as we have been constantly finding issues, updating and changing our maps. I wanna see if there's anything missing or wrong with this map. Any input is appreciated — IмSтevan  talk 15:05, 25 March 2024 (UTC)


 * did anyone suggest that there is something wrong with it? M.Bitton (talk) 15:27, 25 March 2024 (UTC)
 * We've been updating it for weeks, and whenever we thought we were done, something new would pop up. For example, we started by adding the missing Channel islands, then we added lakes, fixed Middle eastern borders, added Akrotiri and Dhekelia and so on. I wanna know if there's anything else we missed or that's inaccurate with it, and what better place to ask than the map project — IмSтevan  talk 16:08, 25 March 2024 (UTC)
 * I don't like that Kosovo's represented on most maps here. But that's just my opinion. 2001:861:31C0:2E20:B45F:5808:A2E:9898 (talk) 13:04, 8 June 2024 (UTC)

User-editable maps
These SVG maps have user-editable sections (any text editor) to allow creation of more maps on more topics. Just paste in a list of states and values. See examples at Commons:Category:English-language SVG maps of the United States made with templates. Feel free to create map templates for other countries too. may be able to help with that.

--Timeshifter (talk) 18:01, 8 April 2024 (UTC)

Must the text used within maps always be pure black?
Hello. I am currently locked in a dispute with Timeshifter over at File talk:Map of US state cannabis laws.svg#Color of D's and am looking for some input. Timeshifter is insisting that the color of text on all maps must be pure black for reasons of accessibility. I disagree and contend that WP:COLOR only requires that a 4.5:1 contrast be met (per WCAG 2.0 AA), and have pointed out that wikipedia uses a 4.76:1 ratio for redlinks, while wikimedia commons uses a 4.52:1 ratio for the gray text in signature timestamps... and that the contrast ratios I have proposed (5.03:1 here and 7:05:1 here) should be sufficient considering this. I have argued that the pure black D's instead of dark red makes the map look very bland, but he says this concern is ridiculous. What are some opinions at WikiProject Maps about accessibility and whether it is possible that it can go overboard sometimes such as in this instance? Thank you for your time.--Jamesy0627144 (talk) 06:41, 8 May 2024 (UTC)


 * I would agree with Timeshifter on this one. I'm colourblind and I would never use any colours other than white, black, or greys when labeling text on backgrounds that aren't also black or white, regardless of the map. Looking at that file, there may be better ways of presenting the information, including adding some sort of texture/shading to the states where the label is being used - the label actually looks really out of place, whereas a white diagonally striped shading may better convey the information. SportingFlyer  T · C  06:51, 8 May 2024 (UTC)


 * OK, thank you. I was thinking since it was only a single letter of text rather than being a long string of text, the pure black seemed especially unnecessary, but I guess you would disagree with that.  I like the subtleness of the D's as opposed to any kind of "loud" diagonals, and the intuitiveness of them is great as well I think, representing "Decriminalized".--Jamesy0627144 (talk) 07:47, 8 May 2024 (UTC)
 * @Jamesy0627144 I'm a graphic worker here and at commons and I always try to make maps (illustrations or other) also work for people with color deficiency and in GIMP there are filters so you can check how it would look for the three most common color deficiencies.
 * So I think you are addressing the problem in a wrong way, you can never say that something always has to be like this or that, it depends on so many things if it will work or not. How the map looks, the colors used there, patterns etc. Also we never know how a map will be viewed, printed (many different ways), viewed on a screen (they are all different), the ambient light, and so on. We never know in which scale the map will be viewed neither so the thing I can do is to make it work in 100% viewed on my screen and if I have a requester that it works for that person also.
 * The overall layout of the map is to me more important than what color the text has as long as it works. It's also very different depending on which font you use, which type normal bold etc and the size.
 * As support for graphic workers we do have this WP:WikiProject_Maps/Conventions (conventions for wikimedia) and in that you can see that texts do have other colors, not only black, and there are more templates (conventions).
 * I agree with @SportingFlyer partly (see text above) and that the map you referring to cold be made differently.
 * To me it's also important that a map is pleasant to view as I think they work better then and people will use them more.
 * I just saw this "People shouldn't have to click on the map and expand it in order to read the text. Even people without perfect vision." To achieve that in most contents is impossible as often small thumbnails are used. --always ping me-- Goran tek-en (talk) 17:38, 8 May 2024 (UTC)
 * While this is trivially so, on Wikipedia I cannot think of a good reason to ever prioritize other factors over the legibility of text. One's personal muse is best suited for other ventures: our job is to make information accessible with the greatest clarity to the greatest number of people, and these are the best guidelines we know about in order to accomplish that. Remsense  诉  04:21, 9 May 2024 (UTC)
 * While this is trivially so, on Wikipedia I cannot think of a good reason to ever prioritize other factors over the legibility of text. One's personal muse is best suited for other ventures: our job is to make information accessible with the greatest clarity to the greatest number of people, and these are the best guidelines we know about in order to accomplish that. Remsense  诉  04:21, 9 May 2024 (UTC)

I agree with everything said. I was thinking of diagonal lines too. That may actually be the best most visible solution.

'''Why would you want anything other than black or white text in any of the maps below? It provides the most contrast and readability.'''

These 2 US maps below are at 350px wide in some Wikipedia articles. I made the text size as big as possible so that some people will be able to read the state names and values without enlarging the map. Many people can. Many people are in a hurry and prefer to take a quick look to find one state and its value without enlarging the map. Articles often have more than one map, and so it is nice to be able to scan quickly down a page. Then one can enlarge some maps of choice. I like to give people the most options, and higher contrast provides the most options.

It would be nice if the maps with values also had the ability to use white text. Then very dark background colors could be used too. That would allow for a wider spread of background colors. That is very useful for such choropleth maps. But I am not the creator of the SVG template used for those maps. I just use the template. The latest template is here: This category has more examples: --Timeshifter (talk) 03:52, 9 May 2024 (UTC)
 * Commons:File:Template map of US states and District of Columbia.svg
 * Commons:Category:English-language SVG maps of the United States made with templates

Thanks for the replies everyone. I think a lot of what this conflict boils down to are what are the expectations for the thumbnail. I don't have high expectation for the thumbnail and pretty much any image on wikipedia that I take more than split second glance at I like to blow up to view. So I don't see it as a big deal if a few more people end up having to blow the image up, which is very easy to do btw. Also, what I sort of gather from this conversation so far is that the contrast ratios guidelines mentioned in WP:COLOR basically don't count for anything when it comes to maps, and that if one person says the contrast ratio in a map isn't high enough that is pretty much the end of discussion, as objective measures such as WCAG AA and AAA compliance cannot be employed to determine what is suitable. Personally I think there should be room for discussion when it comes to that matter, and that accessibility shouldn't be 100% of the concern vs. appearance.--Jamesy0627144 (talk) 13:21, 9 May 2024 (UTC)


 * Why are you adding it as a thumbnail if it's not meant to be useful as such? You can have images that aren't thumbnails on a page.
 * AA and AAA "objectively" concern plain text in an ordinary reading context. The more visual complexity, the more care is required for not making a mess of things.
 * It's simply not necessary to treat the two as mutually opposing forces. Since you're trying to visually communicate specifically information, I imagine you would want to make sure to do that as well as possible. That's what we're trying to advise on. Concerns about good design taking away from aesthetic value is simply misunderstanding what you're trying to do: it's like being concerned that having sufficiently tall door frames takes away from your vision as a home architect. Remsense  诉  13:30, 9 May 2024 (UTC)
 * AA and AAA "objectively" concern plain text in an ordinary reading context. The more visual complexity, the more care is required for not making a mess of things.
 * It's simply not necessary to treat the two as mutually opposing forces. Since you're trying to visually communicate specifically information, I imagine you would want to make sure to do that as well as possible. That's what we're trying to advise on. Concerns about good design taking away from aesthetic value is simply misunderstanding what you're trying to do: it's like being concerned that having sufficiently tall door frames takes away from your vision as a home architect. Remsense  诉  13:30, 9 May 2024 (UTC)
 * It's simply not necessary to treat the two as mutually opposing forces. Since you're trying to visually communicate specifically information, I imagine you would want to make sure to do that as well as possible. That's what we're trying to advise on. Concerns about good design taking away from aesthetic value is simply misunderstanding what you're trying to do: it's like being concerned that having sufficiently tall door frames takes away from your vision as a home architect. Remsense  诉  13:30, 9 May 2024 (UTC)

Creation of maps with shaded areas
Per discussion at Wikipedia_talk:Graphics_Lab/Map_workshop, I'd like to be able to specify a list of countries, and have a template draw a world map with those countries shaded in. Seems like a template exists but is currently disabled due to security concerns:

Initial use case I had in mind can be seen at FTSE Global Equity Index Series and on that talk page.

Any help appreciated. 92.71.60.61 (talk) 08:45, 9 May 2024 (UTC)

Diagonal striping alternating between white and a US state's background color
Can someone create a version of this map (with a different file name) with white diagonal striping added to the "D" states. "D" on the map for Decriminalized. So the striping would alternate between white and the current color. There would no longer be a "D" on any states.

File:Map of US state cannabis laws.svg

Higher up in another talk section wrote (concerning the "D"): "Looking at that file, there may be better ways of presenting the information, including adding some sort of texture/shading to the states where the label [D] is being used - the label [D] actually looks really out of place, whereas a white diagonally striped shading may better convey the information." --Timeshifter (talk) 01:12, 10 May 2024 (UTC)
 * I've figured this out and will upload something soon, even though I think the D's work great and can't imagine what is out of place about them.--Jamesy0627144 (talk) 15:36, 10 May 2024 (UTC)
 * So below is the map as requested. SVG actually has a element that makes this easier, but it's not supported in any browsers so you have to use as a workaround.  Within the pattern element, you can use the stroke, stroke-width, and rotate parameters to adjust line color, width, and angle.  To adjust line spacing, change the width, height, and y2 parameters either up or down, setting them all to the same value.
 * US cannabis hatch test.svg
 * I still like the D's a lot, even though they don't have the beautiful hint of red in them that they did before. I think the D's are actually a lot more visible than the hatching, especially for Hawaii down there which doesn't have much real estate to work with.  And if American Samoa ever decriminalizes, that is going to be a really tough one to pick out, whereas a D in the vicinity would be very easy to spot.  I've always liked the intuitiveness of the D's as well, standing for "Decriminalized".  I think the map could probably use a different color scheme, now that the color of the D's has changed, to better complement them.  But I really don't see a problem with them that would be a reason to replace with hatching.  Timeshifter, go ahead and mess around with the parameters though and see what you come up with.--Jamesy0627144 (talk) 18:21, 10 May 2024 (UTC)
 * I'm not really a fan of hatching on any other map, but I don't know man, this one actually looks bad ass. What do you say we move past this and finally settle on this one (pending others' approval on the cannabis pages)?
 * US cannabis hatch test 2.svg


 * edit: The only thing I was thinking could possibly be an issue is the blue not providing the best contrast against the black borders. But I don't think a huge amount of contrast is needed for that anyways and I don't think lightening the blue some would be a problem at all.
 * --Jamesy0627144 (talk) 20:30, 10 May 2024 (UTC)

Thanks Jamesy0627144 for adding the diagonals. Here are more test maps of yours from Talk:Legality of cannabis by U.S. jurisdiction.

 likes number 6. I am mostly concerned (as always) with contrast. The borders, for example. Also, the white versus black diagonals, and when should each be used. May need to use white diagonals for some states, and black diagonals for other states. Timeshifter (talk) 00:54, 11 May 2024 (UTC)
 * OK. I lightened the blue a good amount so that the border contrast ratio increases from 2.44:1 to 4.91:1, which means it is significantly more visible.  Do you think we could go with this one?
 * US cannabis hatch test 4.svg
 * edit: The current contrast ratio between the light gray states and white border is 1.67:1 by the way. That's kind of why I was saying before that borders are not hugely important to have big contrasts.
 * --Jamesy0627144 (talk) 03:25, 11 May 2024 (UTC)

Here's the one that TheTechnician27 proposed. Not bad but it seems like the hatching is pretty hard to see. Also modified samples #4 and #8 above to have black hatching instead of the D's, and to have black borders.--Jamesy0627144 (talk) 04:17, 11 May 2024 (UTC)
 * TT27.svg

--Jamesy0627144 (talk) 04:17, 11 May 2024 (UTC)
 * I played around, and came up with this:
 * File:US map. Cannabis hatch test 7.svg
 * US map. Cannabis hatch test 7.svg
 * My main goal was to distinguish better between the medical states, and the no-medical states. Especially when hatched. The color under the hatching is easier to pick up. This was also helped by making the hatching lines a little narrower.
 * Plus I enjoy the stop light analogy. Red is a no-go state for users. Yellow means use with caution. Green is go.
 * I used the green (#31a354) that TheTechnician27 liked in the no-hatch test #6. I tried a darker green, but then the black borders were harder to see. That darker green (#008000) is the color named just "green" in the color name list for all browsers:
 * https://www.w3schools.com/tags/ref_colornames.asp
 * I tried "yellow" (#ffff00) from the color name list. But it was too light. Florida coastline was hard to distinguish against the white page. So I used a darker shade of yellow (#ffdf00).
 * Red (#ff0000) is the color named "red" in the color name list.
 * --Timeshifter (talk) 08:41, 11 May 2024 (UTC)

This map is better. It passes all the color blindness tests a little better than the above map. Especially the desaturated test where this map does significantly better. See:
 * Color vision deficiency emulator. PNG/JPG/JPEG. Easy to use. Download a PNG map from various-size links on Commons SVG file description page. Or if it is not uploaded yet, take a PNG screenshot, and upload it to the tester. Tester is from this list:
 * c:Commons:Map resources

File:US map. Cannabis hatch test 8. LimeGreen.svg The only difference from the previous map is that LimeGreen (#32CD32) is used for the green color. --Timeshifter (talk) 10:36, 11 May 2024 (UTC)
 * Yeah I don't know man, I just don't think it is a good color scheme from the perspective of appearance... it is a bit unpleasant to look at in my mind, or to be more blunt, if that is OK, it seems a bit.. I hate to use the word... ugly. The red especially I think is very loud... and it is actually those states IMO that should should have the least amount of color since they have not legalized cannabis for recreational or medical use.  Additionally, from an accessibility perspective, I think the hatching is actually kind of hard to see against the red background, especially when running it through some of the tests at color-blindness.com.  And the hatching is actually more important to see than the borders I would say.
 * I reuploaded TheTechnician27's map except with black hatching and borders instead of white, and also made the hatch lines less thick which you mentioned above as a way to bring out the underlying color better. I also darkened the light green a bit and lightened the gray so that the map passes Monochromacy/Achromatopsia better.  I could probably settle for this even though the color scheme I think is slightly bland... and TT27 would probably be OK with it too...  and I think you said the colors were decent looking before.  My favorite so far is still the blue / neon green... shown below with the lightened colors to bring out the border better and also the hatch lines thinned out.  I actually think this map is the best from an accessibility perspective, particularly with the color of the island territories really standing out and being easy to tell apart.  Even #4 and #8 I'd probably be OK with which I reuploaded below with the hatch lines thinned out.  Do you think you could find agreement on any of these four?
 * edit: I added one more map below: current color scheme, black hatching, and black borders. Looks great I think and we've all approved of the current color scheme before... I just did not care for it very much with the black D's instead of red.  The only issue maybe is the borders but honestly they looked fine when I ran them through the tests at color-blindness.com, except not as visible for Monochromacy/Achromatopsia and Blue Cone Monochromacy but that only affects 1 in 30,000 and 1 in 100,000 people anyways.  I would absolutely be happy with that one.--Jamesy0627144 (talk) 20:34, 11 May 2024 (UTC)
 * --Jamesy0627144 (talk) 19:09, 11 May 2024 (UTC)
 * --Jamesy0627144 (talk) 19:09, 11 May 2024 (UTC)

I like the color-blindness.com tool. The other tool I linked to is good too. I looked at the 5 images in your last post in the color-blindness.com tool. The red-green-yellow map does better than all of them.

The 2nd best result in the tool was the map with the current colors. It looks better with the original white borders, though that has no effect on the color blindness tests. The white borders provide better contrast with the dark blue state backgrounds, and so it is easier to distinguish adjacent dark blue states. I like to bump up the border width to 1.3 versus the original 1.

I think the red-green-yellow map is beautiful. You think it is ugly. But I think utility is more important than beauty; as concerns contrast, color blindness, accessibility, etc.. Same as with the color of text on maps.

By the way, for those who may not know: On a PC you can press the ctrl key and then use the scroll wheel to make an SVG image get bigger or smaller. After opening up an SVG image on a separate browser tab. This is useful for quickly seeing how an SVG image looks like at various thumbnail sizes. --Timeshifter (talk) 08:05, 12 May 2024 (UTC)


 * Let's just leave the map the way it is. I really do think the D's are the most effective way to convey "Decriminalized" and I like how you can see most clearly the pattern of medical/recreational states beneath it... which really is the most important thing to show on the map, not so much the less important reform of decriminalization.  Also, hatching does not work as well for smaller areas like Hawaii whereas a D is more visible for such a state.  And you really cannot tell whether or not American Samoa has decriminalized from looking at the map... and if they ever do decriminalize, that is going to be hard to show.  I just don't think hatching is the best way of communicating information in this particular case.--Jamesy0627144 (talk) 19:36, 12 May 2024 (UTC)
 * Out of all the options, I like the green–light green–white one the most, but I do genuinely like the current one as well. Gets a vote from me if the entirely green one is more problematic for the visually impaired. Although I like the idea behind the green–yellow–red one in theory (the non-lime-green one), in practice I think the black lines make the shores and Mexico/Canada borders look jarring, and it feels very busy. I would at first blush suggest flipping the green and the blue for the curretn scheme since green is more commonly associated with cannabis and thus would be more intuitive at a glance, but that means that the new (and I think quite readable) color scheme for 'D' is rendered completely obsolete, so I like where it is now.  TheTechnician27  (Talk page)  01:08, 13 May 2024 (UTC)
 * I forgot to mention: one thing I especially like about the current color scheme is that it brings the map for the US article roughly into parity with the one for the international article. — Preceding unsigned comment added by TheTechnician27 (talk • contribs) May 13, 2024 (UTC)

I agree with both of you that we should keep the current color scheme. And it is good that the colors are roughly in parity with the international article.

As for the hatching, I think either the white or black hatching would work. But I think the pure black D is better. Black hatching and a pure black D are both black markings on a state to indicate "decriminalized".

The problem I did not anticipate with hatching is that there is a kind of optical illusion. The color under the hatching does not seem to be the same color as without the hatching. Even with thin lines. And the color blindness tests make it worse.

But a D is a D regardless of the color test. It is easy to distinguish since it is unique. So I prefer the current map. It currently has the pure black D. Any color in it shows up weirdly in color blindness tests. Whereas pure black has the least change in the color blindness tests. I learned this in another discussion. That is why we changed from lime green to pure black in the boxes that surround the wikitext/result pairs in Help:Table. It was a discussion on an accessibility page. I preferred the lime green at first since I am not colorblind. --Timeshifter (talk) 02:11, 13 May 2024 (UTC)


 * For those who are interested there is discussion of another option here:
 * Talk:Legality of cannabis by U.S. jurisdiction
 * File:Map of US state cannabis laws. Lighter green 80CE69. Bigger font.svg
 * Map of US state cannabis laws. Lighter green 80CE69. Bigger font.svg
 * Lighter green background, and larger size of the D.
 * The above map is set at 350px. Same as in the template:
 * Template:Legality of cannabis by US state
 * --Timeshifter (talk) 19:05, 18 May 2024 (UTC)

Ability to distinguish "D" on map on cell phones
Pinging past participants in discussions of this map who may not have noticed this thread:. . . . Which map below do you prefer on your cell phone? Please look in your cell phone. And even if you notice no improvement would you support using the larger "D" for users like me who need it?

The maps are at the 350px width used in Template:Legality of cannabis by US state. The template is used on several pages. Such as Legality of cannabis by U.S. jurisdiction

Note: Over 50 percent of website traffic is from cell phones.

I find the size 27px "D" much easier to distinguish on my cell phone. See related eye discussion higher up at  and Commons:File talk:Map of US state cannabis laws.svg. My vision acuity is common to tens of millions in my country, the US. I hesitate to call it low vision, because it is so common. I guess I am on one side of the bell curve of vision acuity.

The D size is about as big as I could make it and not have the D touch the sides of the state of New Hampshire (the smallest state in the continental US with a "D" on it).

In previous discussion here and at the other talk pages we had agreed on the lighter green color. We also agreed that the diagonal hash lines weren't a help due to the 3rd color effect of the lines. --Timeshifter (talk) 12:59, 11 June 2024 (UTC)
 * This is what you said previously about the D's at 17 px size, which you now want to increase to 27.




 * https://commons.wikimedia.org/wiki/File_talk:Map_of_US_state_cannabis_laws.svg#Color_of_D's


 * Between making the D's black, making the green lighter, and increasing the size to 20 px I think the map is already plenty accessible and there is no need to keep beating this dead horse to death.--Jamesy0627144 (talk) 14:44, 11 June 2024 (UTC)
 * As I explained at Talk:Legality of cannabis by U.S. jurisdiction I hadn't actually looked at the 350px-wide map (as in the template used in several articles) in a cell phone yet. When I did I saw that it was very difficult for me to distinguish the "D" at the current size (20px) in the template. You keep ignoring that point. This is not just about me or you. There are tens of millions with similar vision as me in the US where I am.
 * And on a desktop PC (as I said before) I can see the 20px D if I get right up on the monitor. But if I am 2 to 3 feet away as I usually am when sitting in my chair then it is a problem.
 * This is how I am seeing it on various screens. Maybe you can see the D at 20px perfectly clearly at any distance and on any screen, be it a cell phone or PC. Lucky for you. But the map is not "plenty accessible" for others.
 * Also, Wikimedia is rolling out a text sizing menu with 3 choices: small, standard, and large. I have it set on large. So there is a definite desire for more accessibility. Map editors should honor this too. See:
 * https://eu.wikipedia.org/wiki/Topic:Y5nbfld32in1ud0k
 * It is a default setting for logged out users. Log out and bypass your cache to see the text-sizing menu. It can be hidden to a link toggle that shows the menu.
 * Logged in users can enable it via the beta preferences:
 * Special:Preferences - "Accessibility for Reading (Vector 2022)".
 * So people are waking up to the need to make Wikipedia even more accessible.
 * Wikipedia has never settled for barely adequate. Articles can be constantly improved. So can images. Improving things on Wikipedia is not beating a dead horse, as you say. It seems like you are the one beating a dead horse for a long time by saying this image does not need to be improved. Which you have said many times along the way since when we had a pure red D at 17px size against a darker green background. --Timeshifter (talk) 15:56, 16 June 2024 (UTC)
 * Does it have to be a letter? I don't know about you, but I find symbols (dots, stars, etc.) easier to detect on a map. M.Bitton (talk) 21:11, 2 July 2024 (UTC)
 * . I like that idea. In either case one has to look at the legend to see what it means. Whether using a letter or a symbol. But a dot is a lot easier to distinguish as a dot. Versus trying to figure out what letter of the alphabet one is looking at when the map is thumbnail size. It is easier on the 350px-wide map on a cell phone. It would work on even smaller maps too. And since there is only one symbol on the map, there is no confusion trying to distinguish between multiple symbols. A dot is a dot. It just needs to be big enough not to be confused with dust on the screen, etc..
 * Right now we are using a 20px D. Converting to a 20px dot would solve the problem.
 * --Timeshifter (talk) 22:07, 2 July 2024 (UTC)
 * I think so. Try it and see what it looks like. M.Bitton (talk) 22:10, 2 July 2024 (UTC)

I moved the old map from my previous message down here next to the new map with the dot. The dot came from a navbox. I centered the dot better in the states. The dot placement code is at the end of the SVG code. Its size is at the top of the SVG code:
 * .decrim {fill:#000000; font-family:Arial; font-size:40px;}

The dot is actually smaller than the D, though its font size is larger. I find the dot to be much more distinct. Especially the smaller the image. The space inside the D makes the D seem less dark and distinct. I am sitting my usual 3 feet away (I measured it with a yardstick to my eyes) from my desktop screen. I can see the dot on the 220px-wide map. The edges may not be clear to my eyes, but it is obvious it is a dot. The D is difficult. I have to get much closer. I have large-screen desktop monitors and I use larger font sizes. Plus I have a zoom text button on the Firefox toolbar. I have it set to only zoom text on the whole page, not images.

And here below is the 350px-wide size of the map in the template. On my cell phone only the dot in the 350px map is obvious. I can't distinguish the D or the dot on the 220px image. You have to remember that I use larger font sizes on my cell phone too. The 20px D on the 350px map is small for me, and I can't tell what it is. Getting closer does not help. All the other text on the cell phone pages is larger for me. And 20px on the map is not the same as 20px elsewhere. The D size changes depending on the screen and the image width. The D is only 20px at the larger sizes of the map on a desktop. --Timeshifter (talk) 11:55, 3 July 2024 (UTC)


 * I tested the new map and the legend (see template). M.Bitton (talk) 23:50, 3 July 2024 (UTC)
 * Looks good. As does the legend with the larger dot. --Timeshifter (talk) 06:02, 4 July 2024 (UTC)
 * It looks alright I think.--Jamesy0627144 (talk) 04:07, 6 July 2024 (UTC)

Map with dots has been uploaded to File:Map of US state cannabis laws.svg. --Timeshifter (talk) 12:57, 8 July 2024 (UTC)

Creating Congressional Maps on Wikipedia
Hi, I was wondering how I can create maps of congressional districts for use on election pages, as I've seen a lot of them and wonder where and how to get started making them. Wei-On Yeo (talk) 05:04, 26 June 2024 (UTC)


 * Looking at List of United States congressional districts, I find that many of them were made by Commons:User:Twotwofourtysix. Forty of the states are available at Commons:Category:Congressional district maps of the 118th Congress. Try reaching out to that user to see how you can help complete the collection. DutchTreat (talk) 11:08, 4 July 2024 (UTC)

Need a white background (instead of transparent) on US map. For dark-reader browser addons
See: File:Map of US state cannabis laws.svg - would appreciate if someone would make the transparent background white.

See Template:Legality of cannabis by US state. It is on various pages. Dark mode is a problem when toggled on via some addons such as Dark Reader on Firefox, etc.. That addon is very popular.

The problem is that the map has a transparent background surrounding the continental US. So when the background turns black one can't see the black dot next to Hawaii.

The Dark mode (gadget) does not have this problem. It makes the transparent background white.

So if we make the transparent map background white it won't hurt the gadget action. --Timeshifter (talk) 12:53, 8 July 2024 (UTC)
 * Apparently the add-on completely disregards the "background-color" property in SVG, which is probably an intentional choice on the part of the designers, but the problem can be fixed by using the element instead. I uploaded a new map that does this.--Jamesy0627144 (talk) 01:36, 11 July 2024 (UTC)
 * Thanks. --Timeshifter (talk) 15:57, 11 July 2024 (UTC)