Google Maps

(4 posts) (2 voices)


No tags yet.

  1. xerxes42, Member


    We want to use the Google Maps extension for MyDBR and have a few questions:

    1. When we try to use our api key for Google Maps it's complaining that the site is not authorized to use our client id. Does MyDBR use the host in the session information, the server host name when sending the request to the API? Or is it the reverse lookup address of our external IP that needs to resolv to a authorized name.

    2. Are there any plans to move to API v3 since v2 of the Maps Javascript API has been deprecated since May 2010?

    3. Are there any plans on implementing heat maps/charts in MyDBR? We really would find it useful to get a quick overview with a heat map and see of there are a lot of hits in a regions instead of just seeing a tight cluster of pins covering half a country.

    4. We have a Google Maps API for business license since all our applications are internal use only. But when we did some evaluating we simply used this URL without a key and it worked just fine:','extensions/googlemaps/map.js'
    Have you changed the integration or is it just the documentation that doesn't cover this?

    Olof Mattsson

  2. myDBR Team, Key Master

    Some clarification here.

    myDBR Google Maps extension does indeed use Google Maps API v3. The new v3 API does not require the API key, but if you have one, the service from Google is better.

    The v3 API key can be inserted by orverriding the load parameter in user/extensions/extensions.php:

    $dbr_extensions['googlemaps']['javascript'][0] = '';

    As for the heatmaps, it is in the TODO list. There no timetable for implementation. You are free to modify any extension, as the source colde is included.

    We'll update the documentation to include this.

    myDBR Team

  3. xerxes42, Member

    Thanks for the information!

    I will see if we can get developer time inhouse to get the heatmap feature or if we will wait for the official implementation.


  4. myDBR Team, Key Master

    We made a small improvement on Google Maps extension in the latest version. You can now define your Google Maps V3 API key in user/defaults.php (see documentation). Also, the geocode (address to latitude and longitude conversion) uses newer Google API.

    myDBR Team


You must log in to post.