<div dir="ltr">Can be embedded google maps with the new release of fusion??<br><br>regards <br><br><div class="gmail_quote">2008/5/22 Paul Spencer <span dir="ltr">&lt;<a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You cannot do that with the current version of fusion.<br>
<br>
Cheers<br><font color="#888888">
<br>
Paul</font><div><div></div><div class="Wj3C7c"><br>
<br>
On 22-May-08, at 1:36 PM, Fusion Newbye wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
In open layers we add google maps in this way:<br>
<br>
&lt;script src=&#39;<a href="http://maps.google.com/maps" target="_blank">http://maps.google.com/maps</a>?file=api&amp;amp;v=2&amp;amp;key=KEY&#39;&gt;&lt;/script&gt;<br>
 &nbsp; &nbsp;&lt;script src=&quot;<a href="http://openlayers.org/dev/lib/OpenLayers.js" target="_blank">http://openlayers.org/dev/lib/OpenLayers.js</a>&quot;&gt;&lt;/script&gt;<br>
 &nbsp; &nbsp;&lt;script type=&quot;text/javascript&quot;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;var map;<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;function init() {<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;map = new OpenLayers.Map(&#39;map&#39;);<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;map.addControl(new OpenLayers.Control.LayerSwitche<br>
r());<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;var gphy = new OpenLayers.Layer.Google(<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;Google Physical&quot;,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{type: G_PHYSICAL_MAP}<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;);<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;var gmap = new OpenLayers.Layer.Google(<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;Google Streets&quot; // the default<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;);<br>
<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;map.addLayers([gphy, gmap]);<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;map.setCenter(new OpenLayers.LonLat(41.078316, 14.332352), 5);<br>
 &nbsp; &nbsp; &nbsp; &nbsp;}<br>
 &nbsp; &nbsp;&lt;/script&gt;<br>
<br>
Where we have to add that code to use in fusion? in index.html?<br></div></div><div class="Ih2E3d">
_______________________________________________<br>
fusion-users mailing list<br>
<a href="mailto:fusion-users@lists.osgeo.org" target="_blank">fusion-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/fusion-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/fusion-users</a><br>
</div></blockquote><div><div></div><div class="Wj3C7c">
<br>
<br>
__________________________________________<br>
<br>
 &nbsp; Paul Spencer<br>
 &nbsp; Chief Technology Officer<br>
 &nbsp; DM Solutions Group Inc<br>
 &nbsp; <a href="http://www.dmsolutions.ca/" target="_blank">http://www.dmsolutions.ca/</a><br>
<br>
</div></div></blockquote></div><br></div>