Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

"Improve this Map" link missing mapid when layers are manually added #953

Open
jfirebaugh opened this issue Feb 17, 2015 · 1 comment
Open

Comments

@jfirebaugh
Copy link
Contributor

Example: http://lxbarth.com/map/#9/40.0000/-74.5000

The map is initialized without TileJSON and layers are manually added, so when Mapbox.js looks for a mapid it can't find one.

Either the map needs to traverse the layers (and layer groups) looking for specific Mapbox.js classes, and grabbing their mapid (eww) or the _updateMapFeedbackLink code should live in the layers themselves (probably better).

@lxbarth
Copy link
Contributor

lxbarth commented Sep 9, 2015

Can we prioritize fixing this? @jfirebaugh @mourner @tmcw @tristen - who can take this on?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants