Google Maps

(4 posts) (2 voices)

Tags:

No tags yet.

  1. xerxes42, Member

    Hi

    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:
    https://maps.google.com/maps/api/js?sensor=false','extensions/googlemaps/map.js'
    Have you changed the integration or is it just the documentation that doesn't cover this?

    Brgds
    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] = 'http://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&sensor=true';

    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.

    Brgds

  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


Reply

You must log in to post.