lundi 2 février 2015

How to create a custom input text in a CartoDB


What is the best way to modify the searbox listener searchbox in the CartoDB map?


I would like to disable the default event listener for the CartoDB searchbox and first to execute my own listener and then decide If I want to execute the default CartoDB event (geolocation) for the searchbox. How is the best way to do it?


I this is not possible can I add a second input text box in the map? For now I am using $(".cartodb-map-wrapper").append(' '); but I don't know if this is the best thing.


Thanks!





Aucun commentaire:

Enregistrer un commentaire