User:J. Johnson/Sandbox3
{{Infobox landform}}; {{Location map}}; {{OSM Location map}}
As of early 2019: OSM overlays fail to properly overlay for mobile devices. See how this page is rendered for mobile devices via https://en.m.wikipedia.org/wiki/User:J._Johnson/Sandbox3 (note the "m."). Note that first image, invoked prior to the first section header, displays okay.
And we note that adding "{{Graph:Chart||type=pie||width=0||height=0||x=0||y=0}}" anywhere in the section/article seems to fix the problem. See WP:Village_pump_(technical)#Odd_blank_map_bug_with_OSM_location_template.
- As of 5 May: seems to be fixed. See User_talk:RobinLeicester#OSM_Location_Map_problem.
Apparently "An explicit width needs to be added on the graph img tag." See https://phabricator.wikimedia.org/T216431, and also https://phabricator.wikimedia.org/T216318.
small test
[edit]Bigger test
[edit]OSM overlay tests
[edit]More tests
[edit]Pumpkin Vine Railroad The "Pumpkin_Vine_Railroad_route.svg" overlay seems to work (following a reasonable course from the Mississippi River to Louisville via Indianapolis) if it is cut-down to quarter size (150 px high) with the map centered on the NE corner of the overlay, and zoom = 6. (Though that doesn't seem right.) At quarter size the line is too narrow, hard to see. However, the line was only 25 miles long, so the image is still over-size.