Logicify / jquery-locationpicker-plugin

JQuery Location Picker plugin
MIT License
389 stars 260 forks source link

How do you hide the marker? #65

Closed testerdev closed 7 years ago

testerdev commented 8 years ago

How do you hide the marker?

Sumragen commented 8 years ago

I think it will be more simply. 386b6db
If you need to hide marker - just set property 'markerVisible' to false, and if need to hide selected area - set property 'radius' to 0. You can programmatically set 'visible' property like this:

$('#mapExample').locationpicker('map').marker.setVisible(true); //false - to hide