Skip to content
Snippets Groups Projects
Commit 758b3193 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

feat(carto): enable pop-up autopan for markers in order to have a better display on small screen

parent eda0d30d
No related branches found
No related tags found
1 merge request!2201.14
......@@ -35,9 +35,7 @@ export class MapService {
});
if (tooltip) {
marker.bindPopup(tooltip, {
autoPan: false,
});
marker.bindPopup(tooltip);
// handle icon change when unselect
marker.getPopup().on('remove', (evt) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment