This discussion is archived
1 Reply Latest reply: Feb 17, 2013 6:04 PM by humpy125 RSS

Connect to Google Maps

Neal Newbie
Currently Being Moderated
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 Newbie
    Currently Being Moderated
    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>

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points