1 Reply Latest reply: Feb 17, 2013 8:04 PM by humpy125 RSS

    Connect to Google Maps

    Neal
      Hi,

      To configure Google Map with MapViewer, do we need MapViewer Apps Server to connect to google.com?

      Nilaksha.
        • 1. Re: Connect to Google Maps
          humpy125
          You will need to have access to google.com to load the maps.

          I have done it like this:

          In my google.js file I have a google tile layer defined like this:
          var googleOverview = new MVGoogleTileLayer(MVGoogleTileLayer.TYPE_ROAD, <googleMapsKey>);

          In my html page that contains the map I have placed this:
          <script src="http://maps.google.com/maps?file=api&v=3&key=<googleMapsKey>" type="text/javascript"></script>