Jump to content

Talk:Legality of cannabis by U.S. jurisdiction

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

State names need to pop up when thumbnail map is hovered over

[edit]

I now support having only 3 colors in the main map at the top of the page. The 5-color map is great if one understands how bogus nearly all of the CBD/low-THC state programs are. Otherwise one may think those states actually have a better medical program than they actually have.

Back to the current 3-color map. I, and many others, often confuse the state names if they are not written on the map (full names or 2-letter abbreviations).

If there is no state name or abbreviation on the map, then the state name should pop up when hovering over the state in the thumbnail map. Currently, the state name only pops up after clicking on the map twice. Try it and see.

There are various US map templates where the state names pop up, even from the thumbnail map:

Template:USA image map

AlabamaAlaskaAmerican SamoaArizonaArkansasCaliforniaColoradoConnecticutDelawareFloridaGeorgiaGuamHawaiiIdahoIllinoisIndianaIowaKansasKentuckyLouisianaMaineMarylandMassachusettsMichiganMinnesotaMississippiMissouriMontanaNebraskaNevadaNew HampshireNew JerseyNew MexicoNew YorkNorth CarolinaNorth DakotaNorthern Mariana IslandsOhioOklahomaOregonPuerto RicoPennsylvaniaRhode IslandSouth CarolinaSouth DakotaTennesseeTexasUnited States Virgin IslandsUtahVermontVirginiaWashingtonWest VirginiaWisconsinWyomingDelawareMarylandNew HampshireNew JerseyMassachusettsConnecticutDistrict of ColumbiaWest VirginiaPuerto RicoUnited States Virgin IslandsGuamNorthern Mariana IslandsAmerican SamoaVermontRhode Island

A US map with territories could be used the same way. There does not need to be any text on the map. The state names can be made to pop up just from hovering over the blank state. The states can be colored any way we want.

If desired, the map can be made such that clicking on the state takes one to that state in the table. This template is made for that:

The text can be removed from the map, and the states colored any way we want. For more info see:

--Timeshifter (talk) 23:38, 3 May 2024 (UTC)[reply]

After looking at the above map a bit I kind of understand how it works now (involving a wikipedia template built on top of a wikimedia SVG file) but it's definitely more complicated than the current SVG map and especially the code of the SVG file is more complicated and lacking in organization. I would say the map definitely couldn't be used without adding territories because you need to show the three territories that have legalized recreational cannabis and one that has legalized medical use. The state names popping up without the extra clicking is nice but I don't think see it as a huge benefit and as far as clicking the state to connect to the entry in the table that seems like a lesser benefit, especially with the horizontal table of contents which has now been added and I don't think most people mind scrolling to a state's entry to begin with. I love the simplicity in code while at the same time the fine detail in borders of the current map that Heitordp created (especially how the territories were done) and I think people here have become accustomed to using and editing it. IMO opinion it works great and there is not a need to replace it, and I have never heard anyone complain about it until all of a sudden the last couple of weeks. I would still strongly suggest leaving the map the way it is.--Jamesy0627144 (talk) 05:43, 5 May 2024 (UTC)[reply]
The map could look exactly the same as it does now. The only difference a reader would see is the state name popping up while hovering over a state.
Occasionally a state color has to be changed due to changes in the law. That is easy to do once one looks at the SVG text with any text editor. I have gotten pretty good at figuring out where this is happening in the SVG for US maps. Same for adding or removing the "D" from states. --Timeshifter (talk) 10:14, 6 May 2024 (UTC)[reply]

Horizontal table of contents for the table of states

[edit]

See Template:Flatlist. Example below with all 50 states (no Washington, DC).

Contents

The above flat list has been added at the beginning of the table of states:

Via the id= method discussed here:

A flat list (without all 50 states) is in the article section linked below. It is in the map caption:

Clicking the state on the map there will also work. Map does not have to be there, but it is convenient.

I had to put nowiki tags around an Alaska reference (that I had not added) before I could work on the table in a sandbox.

When I removed the tags here, I got a blacklist filter warning for legalweedalaska dot com

Here is the removed reference:

<ref>{{cite web|url=http://legalweedalaska.com|title=Legal Weed Alaska|last=Labs|first=Kelley Code|access-date=January 24, 2017}}</ref>

I know from past experience that sometimes a specific reference can be removed from the blacklist if you ask. Depends on the reference.

Here is another possibility for the "By state" section of the article. Put this just above it.

Table of contents. Click states on map, or in list.

#Alabama#Alaska#Arizona#Arkansas#California#Colorado#Connecticut#Delaware#FloridaGeorgia#Hawaii#Idaho#Illinois#Indiana#Iowa#Kansas#Kentucky#Louisiana#Maine#Maryland#Massachusetts#Michigan#Minnesota#Mississippi#Missouri#Montana#Nebraska#Nevada#New Hampshire#New Jersey#New MexicoNew York#North Carolina#North Dakota#Ohio#Oklahoma#Oregon#Pennsylvania#Rhode Island#South Carolina#South Dakota#Tennessee#Texas#Utah#Vermont#VirginiaWashington#West Virginia#Wisconsin#Wyoming#Delaware#Maryland#New Hampshire#New Jersey#Massachusetts#ConnecticutDistrict of Columbia#West Virginia#Vermont#Rhode Island

--Timeshifter (talk) 23:55, 7 May 2024 (UTC)[reply]

New color scheme of map

[edit]

Hey everyone. So Timeshifter and I have been in a dispute over the past week or so over whether the D's on the map need to be colored black for accessibility purposes, rather the dark red that I proposed as an alternative to the pure red which was used for many years (the pure red as Timeshifter correctly pointed out was not sufficient for accessibility purposes). I made a post at WikiProject Maps asking for more input on the matter but haven't gotten much support for my position over there, lol. So the D's are probably going to have to be changed to pure black, which isn't the end of the world but I don't care for the current color scheme of the map with the black D's substituted for red. So I came up with some alternative color schemes using this site and uploaded some samples to see what people thought. I also came up with a 9th color scheme which I took from Help:Using colours and made the borders black instead of white. I'm kind of liking 9 the best, with 3, 4 and, 8 also being decent. Thoughts?

edit: Actually I'm kind of liking 8 the best after having more time for these to sink in.

--Jamesy0627144 (talk) 17:40, 9 May 2024 (UTC)[reply]

I like the original map colors (as does TheTechnician27) that have been around a long time. They aren't washed out pastels. And they work well with the white borders.
But for the decriminalized states I would prefer white diagonal striping on top of the state color. Instead of using "D" on the map. As suggested by SportingFlyer at Wikipedia talk:WikiProject Maps#Must the text used within maps always be pure black?
File:Map of US state cannabis laws.svg
--Timeshifter (talk) 01:32, 10 May 2024 (UTC)[reply]
I'm not saying this just a compromise: I actually really enjoy both Jamesy's Map 6 (now that we no longer use the light green for CBD, I think this looks great, with the cherry on top being that cannabis is commonly associated with the color green) and the stripes idea. In fact, I think I enjoy Map 6 moreso than the previous color scheme of the blue with the green, mainly because I feel like the darker green we used would be better off associated with full (recreational and medicinal) legalization, and the contrast is easily discernible but not jarring jarring. Moreover, I like Timeshifter's/SportingFlyer's idea of using diagonal stripes instead of the 'D' for decriminalization. I believe it would 1) make it considerably easier to, at a glance, determine which states are decriminalized while also having accessibility, 2) look more aesthetically pleasing, and 3) more intuitively (and interlingually) convey what's happening. Thus, my vote is for Jamesy's Map 6 with diagonal stripes for decriminalized states; I actually believe that would look fantastic so long as the color scheme in Map 6 is suitable for those with accessibility issues as Jamesy says it is. TheTechnician27 (Talk page) 01:56, 10 May 2024 (UTC)[reply]
That sounds OK to me. As long as there is no color blindness problem. Someone needs to run this map's colors through the tester pages. --Timeshifter (talk) 07:17, 10 May 2024 (UTC)[reply]

Decriminalized: Diagonal striping alternating between white and a US state's background color

[edit]

See: Wikipedia talk:WikiProject Maps#Diagonal striping alternating between white and a US state's background color. --Timeshifter (talk) 01:17, 10 May 2024 (UTC)[reply]

For anyone not paying attention to the discussion at WikiProject Maps, we found a way to do the hatching and I have proposed five maps that I think would be acceptable, which are shown below.

Timeshifter has proposed this one:

Comment over there I guess to keep it in one place, even though I am not sure if maybe the conversation would be better suited over here now that we have figured out the technical issue.--Jamesy0627144 (talk) 21:14, 11 May 2024 (UTC)[reply]

Lighter green in the map

[edit]

TheTechnician27. Please compare these 2 maps. The larger size (350px wide) is the same as in the map template at the top of the article. What do you think of the map with the lighter green #80CE69? The blue and gray colors are the same. I find it easier to read the "D", especially at smaller thumbnail map sizes. I also made the white borders slightly wider in the map with the lighter green. The new map does very well in all the color blindness and contrast testers. I increased the size of the D in the 2nd set of maps below.

Larger font size for the "D":

--Timeshifter (talk) 17:38, 17 May 2024 (UTC)[reply]

Lighter green looks OK to me but I wouldn't increase the size of the D's much otherwise it starts to look rather cartoonish... which I would say starts to occur once you increase it to more than 19 or 20 px. As far as thumbnail size, I'm not worried about what the map looks like at 180 px (the size you posted), 100 px, or anything like that. The standard thumbnail size is 220 px and I have never even seen the map used at anything other than 350 px.--Jamesy0627144 (talk) 05:20, 18 May 2024 (UTC)[reply]

You never know when an image may be used at standard thumb size (no pixels indicated in wikitext) in Wikipedia or off Wikipedia.

For logged-in users they set the thumbnail size here:

I don't think the enlarged D size looks cartoonish. The size of the enlarged "D" in the above map is the maximum size I would use because a larger size would not fit in the state of New Hampshire. If larger sizes were used in the other states I can see that it would look weird at a certain point. But the current SVG code only allows one to change the D size in all states. And I see no need to increase the D size more than I already did.

In cell phones the larger D size matters even more. The larger D size helps me see it clearly in all locations: thumbs, desktops, mobile, tablets, etc.. Here is 220px thumbnail:

I find the larger D essential for my ability to read it. I am sure many others will find it helpful too. If we were already at this larger D size, there would be people ticked off if it were reduced in size. Especially to the tiny size it is now.

On my iphone SE 2020 I can't read the small Ds at 350px. I have to break out the magnifying glass, or use pinch-zoom. I can read the larger Ds at 350px without any aids. --Timeshifter (talk) 14:40, 18 May 2024 (UTC)[reply]

I just disagree that we should worry about what the map looks like at 220 px, 180 px, 120 px, or anything like that, since the map is never even used that way and people can just set the size at 350 px when the map is added to articles in the future or use Template:Legality of cannabis by US state which already sets the size at 350 px. And I don't know why increasing to 27 px is now "essential" when you previously said you don't have any problem seeing the black D's, even at smaller map sizes.

I can miss the "D" on the small state of New Hampshire if not paying attention. Red text was especially bad. Whereas pure black stands out even at smaller map sizes. I don't have to squint, or make an effort.

https://commons.wikimedia.org/wiki/File_talk:Map_of_US_state_cannabis_laws.svg#Color_of_D's
Let's just increase the D's to 19 or 20 px and be done with it already. Between making the D's black, making the green lighter, and increasing the D's some I think the map would be plenty accessible, as you yourself previously indicated.--Jamesy0627144 (talk) 01:21, 19 May 2024 (UTC)[reply]
If I am right up on the monitor I can see the smaller D at 350px size. But if I am farther away, as I often am, then it is difficult. I am 3 feet away now, and it is difficult for me to make out the small D at 350px, and impossible at 220px, which I believe is the default thumbnail size.
People often put images in articles at thumbnail size without indicating a pixel size.
I am using a 27 inch monitor at the kitchen table. This is the PC I use the most at home. I am sitting in a high-back chair that I can tilt forward or back on. So 3 feet away is very comfortable. I know I am not alone in doing this.
I don't get why you almost always seek minimum accessibility versus trying to make the maps more accessible.
And you ignored what I wrote about cell phones: "In cell phones the larger D size matters even more." It's definitely essential for cell phones. Concerning your "seeing" ability it's like you only see what you want to see. I also wrote:

On my iphone SE 2020 I can't read the small Ds at 350px. I have to break out the magnifying glass, or use pinch-zoom. I can read the larger Ds at 350px without any aids.

--Timeshifter (talk) 02:21, 19 May 2024 (UTC)[reply]
I don't know about that. You said before you can see the black D's without squinting or making any extra effort, even at smaller map sizes. So I don't know why you are now saying something different on both accounts.

I don't get why you almost always seek minimum accessibility versus trying to make the maps more accessible.

That's not true actually. I have said multiple times that the pure red D's did not provide sufficient contrast and have thanked you for pointing that out. I also lightened the shade of green which you then reverted saying "Pure black worked fine against the original darker green color", "pure black is better with the darker green", and "The extra contrast from the pure black is more helpful against a darker shade of green.". Now you want to change it back saying the complete opposite of what you said before which I said would be fine to change it to what I originally proposed. I have also said that increasing the size of the D's some would be fine up to 20 px perhaps. So it is simply not true that I am seeking to minimize accessibility.... but I also do care about the appearance of the map as someone who has been very active in redesigning and maintaining it over the past 6+ years.--Jamesy0627144 (talk) 05:14, 19 May 2024 (UTC)[reply]

The map was reverted from the lighter shades of blue and green back to the original darker shades at the request of TheTechnician27. Edit summary:

Reverted to version as of 13:01, 29 April 2024 (UTC). Discussion at Wikipedia talk:WikiProject Maps favors the black text and higher contrast. TheTechnician27 and I favor the original background colors for now.

TheTechnician27 found the lighter shades to be washed out. The reversion also allowed me to go back to the pure black for the text. That pure black was also preferred at Wikipedia talk:WikiProject Maps#Must the text used within maps always be pure black?

I preferred the pure black text against the dark green background. As opposed to the maroon text color you liked. The darker green was the background color at the time. I never said I was against the lighter green background. I fully intended to ask about using the lighter green later. As I am doing now.

Concerning the hatching (diagonal lines) discussed at Wikipedia talk:WikiProject Maps#Diagonal striping alternating between white and a US state's background color you wrote (and I agreed):

Let's just leave the map the way it is.

That is the map with darker shades of blue and green. The map preferred by TheTechnician27.

You still haven't addressed the cell phone text size issues I brought up now. Do we need to go to Wikipedia talk:WikiProject Maps again so that people more concerned about accessibility can weigh in? Over 50 percent of website traffic is from cell phones. --Timeshifter (talk) 14:21, 19 May 2024 (UTC)[reply]

Of course appearance on cell phones should be considered and yes it is true that they account for a large percentage of traffic. Please don't pretend that increasing the size to 27 is "essential" though after previously saying you "don't have to squint, or make an effort" to see the D's at their current size. I definitely do think they could be increased some though.--Jamesy0627144 (talk) 18:49, 19 May 2024 (UTC)[reply]
I was talking about desktop monitors until this thread. As I said, and you ignored:

If I am right up on the monitor I can see the smaller D at 350px size. But if I am farther away, as I often am, then it is difficult. I am 3 feet away now, and it is difficult for me to make out the small D at 350px

The increase in text size is essential for cell phones. As I wrote:

On my iphone SE 2020 I can't read the small Ds at 350px. I have to break out the magnifying glass, or use pinch-zoom. I can read the larger Ds at 350px without any aids.

--Timeshifter (talk) 19:25, 19 May 2024 (UTC)[reply]
You mentioned cell phones in the very next sentence, so it is obvious you were referring to both desktop and cell phone there in stating that there was no problem. Here is the full quote:

I can miss the "D" on the small state of New Hampshire if not paying attention. Red text was especially bad. Whereas pure black stands out even at smaller map sizes. I don't have to squint, or make an effort. This is even more important on cell phones.

https://commons.wikimedia.org/wiki/File_talk:Map_of_US_state_cannabis_laws.svg#Color_of_D's
We were talking about cell phones throughout that discussion actually, such as how the map needed to be changed so you wouldn't have to turn up the brightness on your phone in the sunlight, because you said it uses up too much battery power to do that.--Jamesy0627144 (talk) 20:57, 19 May 2024 (UTC)[reply]
OK. My bad. Discussion before though was theoretical. I hadn't actually looked at the 350px map on a cell phone until this thread. And I never said that I had actually tested anything back then on a cell phone. --Timeshifter (talk) 22:05, 19 May 2024 (UTC)[reply]

In regards to the recent change with the following edit summary:

Reverted to version as of 06:15, 26 May 2024 (UTC). Jamesy0627144 has not said the larger D size is too big for his cell phone. Or that he is able to clearly see the smaller D on his cell phone.

!. Yes, size 27 D's is still too big whether using my cell phone or desktop.

2. Yes, size 17 D's are clearly visible on my cell phone. I have repeatedly said though that I wouldn't be opposed to increasing the size some. So I went ahead and increased the size to 19 instead of 27, and if you want to I think increasing the size to 20 would be OK too.--Jamesy0627144 (talk) 04:09, 1 June 2024 (UTC)[reply]

I updated the file names for the above maps to the map versions at the time of their posting. Back then we were comparing 2 different green colors, and between 19px "D" and 27px "D".
Currently we are comparing these 2 maps below at 350px wide (same as the template). We are only comparing the ability to distinguish the "D" in cell phones. It seems we have agreed on the lighter green color 80CE69.
These 2 maps below compare 27px and 20px "D". I find the size 27px "D" much easier to distinguish on my cell phone.
Do you not find the 27px "D" easier to distinguish on your cell phone at the 350px width below (as in Template:Legality of cannabis by US state)?

--Timeshifter (talk) 08:21, 1 June 2024 (UTC)[reply]

Do you not find the 27px "D" easier to distinguish on your cell phone at the 350px width below (as in Template:Legality of cannabis by US state)?

No.--Jamesy0627144 (talk) 17:11, 7 June 2024 (UTC)[reply]
Jamesy0627144. Well, would you mind allowing me and others to be able to more easily distinguish it at 350px-wide template size and smaller on cell phones? I find it difficult to distinguish the "D" on my iphone SE 2020. --Timeshifter (talk) 02:23, 8 June 2024 (UTC)[reply]

Discussion at Wikipedia talk:WikiProject Maps

[edit]

See: Wikipedia talk:WikiProject Maps#Ability to distinguish "D" on map on cell phones. --Timeshifter (talk) 08:49, 1 June 2024 (UTC)[reply]

[edit]

As I understand it, the Nebraska Secretary of State certified the passage of Nebraska initiative 437 (which had 70% voting in favor). Then some former politicians and the official who certified, brought a lawsuit retroactively challenging some of the signatures on the initiative petitions [1]. I don't think we should call medical cannabis "illegal" in the state pending the outcome of the lawsuit, rather the reverse. ☆ Bri (talk) 17:21, 8 November 2024 (UTC)[reply]

To say medical use is actively legal now is inaccurate. The signatures for the petition to be placed on the ballot can't be verified, thats why the lawsuit was brought up. There has been evidence of officials claiming to have tampered with the petitions to add signatures from random people in phone books and there is a real possibility of the measures being ruled invalid. Until it's confirmed that the signatures are valid, medical use remains illegal and thus Nebraska should be labeled as such. Euouaen (talk) 06:26, 9 November 2024 (UTC)[reply]
[edit]

Just saw this news article. Medical marijuana is set to be legal on Dec 12th.

https://nebraskaexaminer.com/2024/12/05/district-judge-denies-requests-to-amend-nebraska-medical-cannabis-lawsuit-after-dismissal/

Maybe Nebraska should be changed to green. :) ThaGreenlander (talk) 03:24, 10 December 2024 (UTC)[reply]

@Euouaen, Jamesy0627144, and ThaGreenlander: based on this, as argued in the prior talkpage section, I think the second change to the map on November 7 was a mistake. The status should be restored; Nebrasksa should be shaded green. ☆ Bri (talk) 13:21, 10 December 2024 (UTC)[reply]
Great! I don’t know how to edit the map unfortunately to make Nebraska green :( ThaGreenlander (talk) 20:07, 10 December 2024 (UTC)[reply]
I took care of that. It should appear soon as caches get purged etc. ☆ Bri (talk) 21:05, 11 December 2024 (UTC)[reply]