<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=us-ascii">
<style>BODY{font:10pt Tahoma, Verdana, sans-serif}</style></head><body>
<font face="Tahoma, Verdana, sans-serif" size="2">Hello,</font><div style="font-family: Tahoma, Verdana, sans-serif; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"><br></div><div style="font-family: Tahoma, Verdana, sans-serif; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;">I want to add share functionality. Can I have small example? Below is the sample code which I got from one of the link.</div><div style="font-family: Tahoma, Verdana, sans-serif; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"><br></div><div><font face="Tahoma, Verdana, sans-serif" size="2"><div id="ourMap"></div> </font></div><div><font face="Tahoma, Verdana, sans-serif" size="2"><script src="http://www.openlayers .org/api/OpenLayers.js"> </font></div><div><font face="Tahoma, Verdana, sans-serif" size="2"></script></font></div><div><font face="Tahoma, Verdana, sans-serif" size="2"><br></font></div><div><font face="Tahoma, Verdana, sans-serif" size="2"><script> </font></div><div><font face="Tahoma, Verdana, sans-serif" size="2">map = new OpenLayers.Map("ourMap"); </font></div><div><font face="Tahoma, Verdana, sans-serif" size="2">map.addLayer(new OpenLayers.Layer.OSM()); </font></div><div><font face="Tahoma, Verdana, sans-serif" size="2">map.zoomToMaxExtent(); </font></div><div><font face="Tahoma, Verdana, sans-serif" size="2"></script></font></div><div><font face="Tahoma, Verdana, sans-serif" size="2"><br></font></div><div><font face="Tahoma, Verdana, sans-serif" size="2">Regards,</font></div><div><font face="Tahoma, Verdana, sans-serif" size="2">Hardik Pancholi</font></div></body></html>