GMAP 3 Plugin for JQuery. Change the Marker Position?

1.3k Views Asked by At

I am using the GMAP 3 plugin for JQuery on my website. I want to re-position the Marker to point to this place.

The Code is Here. Due to limitation of the number of characters, I am posting the Code in Pastebin.

Anyone who has used this plugin before and knows how to re-position the map marker to point to a particular place?

1

There are 1 best solutions below

2
On

Not sure if you still have issues with this but that should be the simplest of all usage of the plugin:

<script>
      $(document).ready(function(){
        $('#IdOfYourMapDivContainer').gmap3({
           map:{
              options:{
                  center: [17.435939, 78.341678],
                  zoom: 8
              }
           },
           marker:{
              latLng: [17.435939, 78.341678]
           }
        });
      });
</script>