WordPress.org

Ready to get started?Download WordPress

Forums

Gwebpro Store Locator
[resolved] set default pin location to HQ instead of 'ME' (2 posts)

  1. kylemck87
    Member
    Posted 5 months ago #

    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/

  2. Jas Saran
    Member
    Plugin Author

    Posted 5 months ago #

    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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.