AnsweredAssumed Answered

keeping search and locate widget  inside map div

Question asked by faymtownsend on Jun 16, 2014
Latest reply on Jun 17, 2014 by faymtownsend
So I'm using the MAP div as par of a website and not displaying it at full extent of the browser window.

http://jsfiddle.net/644nr/

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.

Any help is appreciated.

Outcomes