[mapguide-users] fusionSF MapType Error

Michael Adair madair at dmsolutions.ca
Wed Apr 27 09:33:13 EDT 2011


Sounds like you need to include the Google Maps API.  Insert this line 
before including the fusionSF file in your template;

<script type="text/javascript" 
src='http://maps.google.com/maps/api/js?sensor=false'></script>

Mike

On 27/04/2011 9:04 AM, Jzsu wrote:
> Hi
>
> I'm trying to run one of the googlemap examples included in Maestro 3.0 RC1
> through mapguide 2.2 RC4
> I get the following error:
>
> Message: 'google.maps.MapTypeId.HYBRID' is null or not an object
> Line: 1
> Char: 1032426
> Code: 0
> URI: http://mapguide/mapguide/fusion/lib/fusionSF-compressed.js
>
> Googlemaps API version is 310C.
> When debugging the site the Googlemaps API dose'nt  have any MapTypeId
> definitions.
> I have seen other examples where the api is 310C but they must be using
> another version of fusionSF-compressed.js since google.maps.MapTypeId isnt
> used.
>
> How do i get around this problem?
>
> Regards
> /Joel
>
>
>
>
>
>
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/fusionSF-MapType-Error-tp6309379p6309379.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list