<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>To make a plug: 2.6 uses V3 by default.</span></div><div><span><br></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Brent Fraser <bfraser@geoanalytic.com><br> <b><span style="font-weight: bold;">To:</span></b> Dara Olson <dolson@glifwc.org> <br><b><span style="font-weight: bold;">Cc:</span></b> geomoose-users@lists.osgeo.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, February 27, 2012 5:34 PM<br> <b><span style="font-weight:
bold;">Subject:</span></b> Re: [Geomoose-users] Google API upgrade from V2 to V3<br> </font> </div> <br>
<div id="yiv1748378877">
<div>
Dara,<br>
<br>
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:<br>
<br>
var google_translator = {<br>
'physical' : G_PHYSICAL_MAP,<br>
'streets' : null,<br>
'hybrid' : G_HYBRID_MAP,<br>
'satellite' : G_SATELLITE_MAP<br>
};<br>
<br>
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).<br>
<br>
<br>
<pre class="yiv1748378877moz-signature">Best Regards,
Brent Fraser</pre>
<br>
On 2/27/2012 4:14 PM, Dara Olson wrote:
<blockquote type="cite">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.<br>
Thanks!<br>
Dara<br>
<br>
<fieldset class="yiv1748378877mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
Geomoose-users mailing list
<a rel="nofollow" class="yiv1748378877moz-txt-link-abbreviated" ymailto="mailto:Geomoose-users@lists.osgeo.org" target="_blank" href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a>
http://lists.osgeo.org/mailman/listinfo/geomoose-users
</pre>
</blockquote>
</div>
</div><br>_______________________________________________<br>Geomoose-users mailing list<br><a ymailto="mailto:Geomoose-users@lists.osgeo.org" href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br><br><br> </div> </div> </blockquote></div> </div></body></html>