[mapguide-users] fusion error in google chrome

Gordon Luckett gordon.luckett at arrowgeomatics.com
Wed Oct 5 12:16:12 PDT 2022


Something has recently changed in the past month or so with the Google API.

I have changed all my links to Google to use the XYZ version:
https://mt0.google.com/vt/lyrs=m&hl=en&x=${x}&y=${y}&z=${z}

You should still have an API Key (or at least pay for the licence) as it is
required by the TOS

On Wed, Oct 5, 2022 at 2:04 PM Hadis Alinia <hadissaalinia at gmail.com> wrote:

> Hi,
>
> I am using MapGuide version 3.1.2 and when I add the commercial layers my
> application doesn't open in google chrome but works fine with other
> browsers like Microsoft Edge. When I try to open it in Google Chrome, I get
> the following errors "Cannot read properties of undefined (reading
> 'width')
>
> Stack Trace:
>
>  - ? at /mapguide/fusion/lib/fusionSF-compressed.js (line: 57)
>  - ? at https://maps.googleapis.com/maps-api-v3/api/js/50/7a/util.js (line: 328)
>  - ? at https://maps.googleapis.com/maps-api-v3/api/js/50/7a/util.js (line: 21)
>
>  - ? at  /mapguide/fusion/lib/fusionSF-compressed.js (line: 55)"
>
> I even changed fusionSF-compressed.js to fusionSF.js still doesn't work.
>
> The MapGuide version 2 was working with commercial layers.
>
> What is the reason and what changes need to be made?
>
> Thank you
> Hadis
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapguide-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20221005/98841d37/attachment.htm>


More information about the mapguide-users mailing list