CartoDB Change Marker on Click

المشرف العام

Administrator
طاقم الإدارة
As a better solution for Mobile, I'm stripping away Marker-Infowindows onClick and instead display a «Panel»/DIV with the data from the feature on mobile devices.

This gets us more control over styling and for mobile users a way better UX. But this way, there is no affiliation with the Marker the user clicked no more… therefore the user may not remember which marker was clicked to display the info.

Is there a way to alter the marker onClick? And «switch back» as soon as the user clicks another marker or somewhere else on the map?



أكثر...
 
أعلى