Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Using Google Maps in Abiquo

Excerpt

Abiquo uses Google Maps for the map display, which requires the server to have Internet access. The map view is optional and statistics can be shown instead. In new installations, the map view is the default for Infrastructure view. In upgraded installations, to enable the map view, set the appropriate property in the client-config-custom.json file.

To plot the datacenter locations on the map, Abiquo uses the Google Maps Javascript API v3, and you cannot use a key for an older version.

Add the Google maps API key to the client-config-custom.json file.

Obtaining a Google Maps API Key

You should add a browser key for accessing the Google Maps Javascript API v3

...

If there are no valid credentials or datacenters with locations, the map will be centred on Barcelona, Spain. See Configure map defaults 

Troubleshooting

  • Improve Datacenter Location Details: If your datacenter is not correctly plotted, try adding more details of the location. For example, if your datacenter is located in Barcelona, Venezuela and you enter Barcelona, the map will show the location as Barcelona in Spain. In this case, you would enter "Barcelona, Venezuela" in the Datacenter location for a correct visualization.
  • Google maps charges for map usage, see https://developers.google.com/maps/documentation/javascript/usage#usage_limits

...