Steps to reproduce
- Create a mapframe map using a geoline or geoshape, specifiying latitude and longitude (but not zoom) in the tag attributes, e.g.
<mapframe frameless="1" align="center" longitude="16.524127" latitude="49.170653" height="200" width="290">{"properties":{"stroke-width":6,"stroke":"#ff0000","title":"ExpandTemplates"},"type":"ExternalData","service":"geoline","ids":"Q515443"}</mapframe>
- Save the page
- Click on the static thumbnail to open the fullscreen map
Or try the examples at https://en.wikipedia.org/wiki/User:Evad37/Sandbox/Mapframe_test
Actual results
The fullscreen map starts to open as normal, but the neither the background map nor the geoline/geoshape are actually displayed. Instead, a white screen is displayed with a small red dot in the center.
Expected results
The map should load and be visible to the user, along with the geoline/geoshape feature. Some default level should be used for the zoom (i.e. somewhere in the middle, not completely zoomed in nor completely zoomed out).
Notes
- If latitude, longitude and zoom attributes are provided, everything works as expected
- If latitude, longitude and zoom attributes are all omitted, everything works as expected, (with automatically determined appropriate values)
- Separately, there is the issue how English Wikipedia's Module:Mapframe handles coordinates not being provided, and in what circumstances it retrieves values from Wikidata items, (since that was part of the cause of the initially report) -- but that can be resolved on-wiki.
- At the very least, there should be an explicit error message, rather than this white-screen-of-death.