Page MenuHomePhabricator

Some interactive maps are not clickable
Open, LowPublic

Description

User reported bug

Steps:

  1. Navigate to an article with an interactive map (Example: 2020 United States Elections)
  2. Tap on the image
  3. Tap on a point on the map (Example: Utah)

Expected Result:
The article related to area tapped appears

Actual Result:
Nothing happens

Frequency - 5/5

Event Timeline

Found this ticket: T229160

The example here is a static image with a JavaScript code to control the clickable areas.

In T229160, the map is using a maplink to allow users to open the OpenStreetMap.

Not sure if that's the one @Sharvaniharan mentioned.

sdkim subscribed.

As stated by T229160, maps does not currently support native app maps. As Product Infrastructure is currently focused on redesigning maps infrastructure now (https://phabricator.wikimedia.org/T263854) we will consider interactive map capabilities for native apps but are not actively working on it.

This is related to the template ImageMap not having any event being dispatched to the clients. This needs more investigation to see if there is a possible solution, or if this is another edge case caused by community templates.

Still worth to mention that does not involve Kartographer or any Maps related code.