[mapguide-users] integrate with google map

Zac Spitzer zac.spitzer at gmail.com
Sat Apr 2 02:29:02 EDT 2011


edit the template to use the uncompressed version of fusion

in the index.html for the template your using ( slate etc)
change /mapguide/fusion/lib/fusionSF-compressed.js
to /mapguide/fusion/lib/fusion.js ( i think)

which will then point to the source files, that way you can
you see exactly where the error is occurring

try and avoid debugging when using compressed single files of javascript,
it's just a nightmare.

On Sat, Apr 2, 2011 at 3:04 PM, bjoseph82 <brendajoseph82 at gmail.com> wrote:
> i m trying to integrate my mapguide map with the google map. when i follow
> the tutorial about editing in the applicationdeffination this warning came
> out? can somebody assist me about this.
>
> Thanks very much.
>
> Fusion Error:
> WARNING: Exception occurred in AJAX callback.
> Message: D is undefined
> Location: http://localhost:8008/mapguide/fusion/lib/fusionSF-compressed.js
> (1)
> Response:
> {"ApplicationDefinition":{"@noNamespaceSchemaLocation":["ApplicationDefinition-1.0.0.xsd"],"MapSet":[{"@type":["MapSetType"],"MapGroup":[{"@id":["googleBase"],"Map":[{"Type":["Google"],"Extension":[{"ResourceId":["google"],"Options":[{"type":["G_HYBRID_MAP"]}]}]},{"Type":["MapGuide"],"SingleTile":["true"],"Extension":[{"Options":[{"isBaseLayer":["false"],"useOverlay":["true"],"projection":["EPSG:900913"]}],"ResourceId":["Library://Samples/Sheboygan/Maps/Sheboygan-m.MapDefinition"]}]}]}]}],"WidgetSet":[{"@type":["WidgetSetType"],"Container":[{"@type":["UiItemContainerType"],"Name":["TaskContextMenu"],"Type":["ContextMenu"],"Item":[{"@type":["WidgetItemType"],"Function":["Widget"],"Widget":["menuMeasure"]},{"@type":["WidgetItemType"],"Function":["Widget"],"Widget":["menuBuffer"]}]},{"@type":["UiItemContainerType"],"Name":["MapContextMenu"],"Type":["ContextMenu"],"Item":[{"@type":["WidgetItemType"],"Function":["Widget"],"Widget":["menuRefreshMap"]},{"@type":["SeparatorItemType"],"Function":["Separator"]},{"@type":["WidgetItemType"],"Function":["Widget"],"Widget":["menuPan"]},{"@type":["WidgetItemType"],"Function":["Widget"],"Widget":["menuZoomInRectangle"]},{"@type":["SeparatorItemType"],"Function":["Separator"]},{"@type":["WidgetItemType"],"Function":["Widget"],"Widget":["menuZoomInFixed"]},{"@type":["WidgetItemType"],"Function":["Widget"],"Widget":["menuZoomOutFixed"]},{"@type":["SeparatorItemType"],"Function":["Separator"]},{"@type":["FlyoutItemType"],"Function":["Flyout"],"Label":["Zoom"],"Tooltip":["Open
> the zoom menu"],"Item":[{"@type":
>
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/integrate-with-google-map-tp6233180p6233180.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
>



-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168


More information about the mapguide-users mailing list