Google Style Popups on Open Layers

Details

True google syle popups! The popups resize based on content & re-pan the map if the bubble doesn't fit. Click on the road signs to check them out.

The main script driving this new functionality is the script/popup.js script. Simply include this and the images in script/img, replicate out the tweaks in the map.css and you should be up and running. Dont forget to add a few CR LF to the end of the .txt files, OpenLayers doesnt read the last line.

This has only been tested with text layers. Others **should** work but I haven't tested it. Also for some reason it doeant work unless the library is compressed in to one file. Will check out why soon.

Implementations

This has been developed for http://www.ukvoyager.info by Cloud Amber. The page driving the site can be found at http://www.ukvoyager.info/myMap.aspx. For more information contact us here.

Powered By Cloud Amber