[fusion-users] Google map in Fusion
Paul Spencer
pspencer at dmsolutions.ca
Thu May 22 16:40:06 EDT 2008
You cannot do that with the current version of fusion.
Cheers
Paul
On 22-May-08, at 1:36 PM, Fusion Newbye wrote:
> In open layers we add google maps in this way:
>
> <script src='http://maps.google.com/maps?
> file=api&v=2&key=KEY'></script>
> <script src="http://openlayers.org/dev/lib/OpenLayers.js"></
> script>
> <script type="text/javascript">
> var map;
>
> function init() {
> map = new OpenLayers.Map('map');
> map.addControl(new OpenLayers.Control.LayerSwitche
> r());
>
> var gphy = new OpenLayers.Layer.Google(
> "Google Physical",
> {type: G_PHYSICAL_MAP}
> );
>
> var gmap = new OpenLayers.Layer.Google(
> "Google Streets" // the default
> );
>
>
> map.addLayers([gphy, gmap]);
>
> map.setCenter(new OpenLayers.LonLat(41.078316,
> 14.332352), 5);
> }
> </script>
>
> Where we have to add that code to use in fusion? in index.html?
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users
__________________________________________
Paul Spencer
Chief Technology Officer
DM Solutions Group Inc
http://www.dmsolutions.ca/
More information about the fusion-users
mailing list