when I have the search and locate button div inside the map div it bumps the map down and messes with the on click location. (see link)
if I move the divs outside of the map div I can use relative and move them with css but then I have issues making them disappear on a button click.
This is part of a larger project that allows users to filter data based on location on a map. my end goal was to make the map appear on button click after the page loads.
Just stumped and I'm sure its just something I am over looking... I mean the zoom widget does what I want the other divs to do so it has to be possible.
Do you mean that you want the locate button on top of the map so if you click that it should not consider it as a map click and instead call the button click function.
Do you mean that you want the locate button on top of the map so if you click that it should not consider it as a map click and instead call the button click function.