Vertical crosshair reposition on Google Map after map resize Issue
- by joe
I use the following function to add a crosshair to my Google Map. It works great for horizontal resizing. I can not figure out how to make it work for vertical. After resizing the map it requires the user to either zoom in or out 1 layer, upon which the crosshair snaps to center.
var crosshairsSize=17;
GMap2.prototype.addCrosshairs=function(){
…