Support » Plugin: Gwebpro Store Locator » set default pin location to HQ instead of 'ME'

  • Resolved kylemck87

    (@kylemck87)


    Hey

    Everything is working perfectly, but I would like to set the default position of the ‘me’ pin to the location of the company instead I have added in the API key as this to the header but im just getting an error box, any ideas what the problem could be:

    <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDrmBQNeFzZyMmcjay-8DyoPHVGPOt5dkA&sensor=FALSE">
    </script>
    <script type="text/javascript">
      function initialize() {
        var mapOptions = {
          center: new google.maps.LatLng(57.071725, -2.970929),
          zoom: 8
        };
        var map = new google.maps.Map(document.getElementById("map-canvas"),
          mapOptions);
      }
      google.maps.event.addDomListener(window, 'load', initialize);
    </script>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    https://wordpress.org/plugins/gwebpro-store-locator/

Viewing 1 replies (of 1 total)
  • Plugin Author Jas Saran

    (@moonheart)

    Hello,

    Gwebpro Store Locator plugin search your current location based on your IP and show it in the map.

    If you want a customized version of this plugin or any technical support, Please mail us in our support with your specification.

    Thanks,
    Team G Web Pro

Viewing 1 replies (of 1 total)
  • The topic ‘set default pin location to HQ instead of 'ME'’ is closed to new replies.