[Geomoose-users] Google API upgrade from V2 to V3
Dan Little
danlittle at yahoo.com
Wed Feb 29 12:41:54 EST 2012
To make a plug: 2.6 uses V3 by default.
>________________________________
> From: Brent Fraser <bfraser at geoanalytic.com>
>To: Dara Olson <dolson at glifwc.org>
>Cc: geomoose-users at lists.osgeo.org
>Sent: Monday, February 27, 2012 5:34 PM
>Subject: Re: [Geomoose-users] Google API upgrade from V2 to V3
>
>
>Dara,
>
>As I recall using Google API v3 would require referencing the new
API javascript in GeoMoose.html (no key required with the new API).
It would also require changing Geomoose's main.js (somewhere around
line 430) from:
>
> var google_translator = {
> 'physical' : G_PHYSICAL_MAP,
> 'streets' : null,
> 'hybrid' : G_HYBRID_MAP,
> 'satellite' : G_SATELLITE_MAP
> };
>
>to the new identifiers used (e.g. G_PHYSICAL_MAP is no longer
used). And I think it would require an upgrade to a more recent
OpenLayers (and that may cause other problems).
>
>
>
>Best Regards,
Brent Fraser
>On 2/27/2012 4:14 PM, Dara Olson wrote:
>Has anyone upgraded to the Google API version 3 for adding background layers in your GeoMoose app? If so, do you happen to have an example that you could share? I am assuming it would be the same setup as the GeoMoose documentation with V2 (except new key/script), but every time I attempt it crashes out the site. Any help would be greatly appreciated.
>>Thanks!
>>Dara
>>
>>
>>
>>_______________________________________________
Geomoose-users mailing list Geomoose-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geomoose-users
>_______________________________________________
>Geomoose-users mailing list
>Geomoose-users at lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/geomoose-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20120229/33b4474d/attachment.html
More information about the Geomoose-users
mailing list