[fusion-users] Google map in Fusion

Fusion Newbye fusionnewbye at gmail.com
Thu Aug 28 03:47:39 EDT 2008


Can be embedded google maps with the new release of fusion??

regards

2008/5/22 Paul Spencer <pspencer at dmsolutions.ca>

> 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&amp;v=2&amp;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/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fusion-users/attachments/20080828/12827fa4/attachment.html


More information about the fusion-users mailing list