Use with phoogle modified class: (see an example here)
To use it in the phoogle modified class just turn it on by setting to true the showFSbutton propertie and include the fsaddon.js and the famous prototype.js file.
To make this control work you also have to call the html element that contains the map “mapcontainer” or you have to set the “mapContainerId” properties to match your container element.
Use without the phoogle modified class:
- w=”width in pixel”
- h=”height in pixel”
- c=”id of the container of the div map”
<div id='mapcontainer'><div id="map" c='mapcontainer' w='550' h='150'></div></div>
I know. It’s not so elegant and you can do it better.
Here is the source code (download fsaddon.js):