But if I use this code, it works -
- <script type="text/javascript">
- $(function() {
- var loc = document.getElementById("P179_LOCATION").value;
- // alert(loc);
- $("#map").gMap({ markers: [{latitude: -33.352222, longitude: 116.226675, html: "STOCKTON WEST" },{latitude: -32.5878758, longitude: 118.6554654, html: "DOWN ROAD" },{latitude: -32.42342342, longitude: 121.842342, html: "CAMEL LAKE" },{latitude: -32.4545643, longitude: 118.535344, html: "BLUE GUM CREEK" },{latitude: -32.2343223, longitude: 119.42323432, html: "GLEDHOWE" },{latitude: -32.654376, longitude: 121.765547567, html: "HASSELL" },{latitude: -32.12345654, longitude: 118.53437565, html: "STOCKTON EAST" }],
zoom: 14 });
- });
- </script>