Google Maps + PODSCMS
- by Sharath
Hi,
I have a column called 'location' in a POD which I have created. I was looking to write a input helper where I display a Google Map and the user clicks on a location, and I capture that into this column.
This is what I am trying to do
<div class="form pick <?php echo $location; ?>">
<script src="http://maps.google.com/maps?file=api&v=1&key=<key_here>" type="text/javascript"></script>
<div id="map" style="width:500; height:500">
<script type="text/javascript">
map=new GMap(document.getElementById("map"));
map.centerAndZoom(new GPoint(77.595062,13.043359),6);
map.setUIToDefault();
</script>
</div>
</div>
But I am getting a number of errors from google maps API. Any idea how i can get this helper in there?