Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove map related stuff #2749

Merged
merged 4 commits into from Jun 17, 2022
Merged

Remove map related stuff #2749

merged 4 commits into from Jun 17, 2022

Conversation

abulte
Copy link
Contributor

@abulte abulte commented Jun 16, 2022

This removes map related widgets, configuration...

In the admin, the map is replaced by textual informations.

When a spatial.geom is set:

Capture d’écran 2022-06-17 à 10 57 50

When spatial.zones are set:

Capture d’écran 2022-06-17 à 10 51 27

We're loosing a bit of information, especially when using a custom geom (683 visible datasets). I think the trade-off is worth it, especially since we're removing a dependency to an external service which I know nothing about (cartodb).

In the future, we might want to implement a new widget based on openmaptiles.geo.data.gouv.fr.

For reference, the "before" state:

Capture d’écran 2022-06-17 à 12 20 15

Copy link
Contributor

@maudetes maudetes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leaflet-map.vuein admin depends on map configs and now fails

js/config.js Show resolved Hide resolved
@abulte abulte requested a review from maudetes June 17, 2022 10:18
Copy link
Contributor

@maudetes maudetes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good!

Don't forget the changelog entry.

js/components/dataset/details.vue Outdated Show resolved Hide resolved
js/components/leaflet-map.vue Show resolved Hide resolved
js/components/dataset/details.vue Show resolved Hide resolved
@abulte abulte requested a review from maudetes June 17, 2022 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants