<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"Préformaté HTML Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.PrformatHTMLCar
{mso-style-name:"Préformaté HTML Car";
mso-style-priority:99;
mso-style-link:"Préformaté HTML";
font-family:Consolas;
mso-fareast-language:FR-CA;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR-CA link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=EN-CA style='mso-fareast-language:EN-US'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='mso-fareast-language:EN-US'>I also have the error in Chrome but it’s still possible to display Google map and Street view (for Street view, I add my API key in the file ..\Web\www\fusion\widgets\GoogleStreetViewerGoogleStreetView.templ)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='mso-fareast-language:EN-US'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='mso-fareast-language:EN-US'>Pierre<o:p></o:p></span></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=FR>From:</span></b><span lang=FR> mapguide-users <mapguide-users-bounces@lists.osgeo.org> <b>On Behalf Of </b>Gordon Luckett<br><b>Sent:</b> Sunday, October 16, 2022 1:57 PM<br><b>To:</b> MapGuide Users Mail List <mapguide-users@lists.osgeo.org><br><b>Subject:</b> Re: [mapguide-users] fusion error in google chrome<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Yes, I still haven't figured out what changed in the Google api that broke MapGuide fusion 3.1.2.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I've been using xyz and skipping the streetview widget lately.<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Wed., Oct. 5, 2022, 10:13 p.m. Hadis Alinia, <<a href="mailto:hadissaalinia@gmail.com">hadissaalinia@gmail.com</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><p class=MsoNormal>Thank you, Gordon. The site loads in Google Chrome with the Generic XYZ layer but with adding any of the Google Base maps I get the same error!<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I need to use google street view and it doesn't work without the google base map. <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Hadis<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Wed, Oct 5, 2022 at 5:27 PM Gordon Luckett <<a href="mailto:gordon.luckett@arrowgeomatics.com" target="_blank">gordon.luckett@arrowgeomatics.com</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><p class=MsoNormal>It is just a XYZ Generic Layer in your layout.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><img border=0 width=536 height=269 style='width:5.5833in;height:2.802in' id="Image_x0020_1" src="cid:image001.png@01D8E17E.616E0A00"><o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Wed, Oct 5, 2022 at 5:23 PM Hadis Alinia <<a href="mailto:hadissaalinia@gmail.com" target="_blank">hadissaalinia@gmail.com</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><div><div><div><div><p class=MsoNormal>Hi Gordon, <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thank you for your prompt reply. Can you specify where I need to change the links to the xyz version? I am adding the commercial maps in Mapguide Maestro under child maps with the google API I have. <o:p></o:p></p></div><div><p class=MsoNormal>I have the following scripts in my application definition XML :<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>" <OpenStreetMapScript><a href="http://www.openstreetmap.org/openlayers/OpenStreetMap.js" target="_blank">http://www.openstreetmap.org/openlayers/OpenStreetMap.js</a></OpenStreetMapScript><o:p></o:p></p></div><div><p class=MsoNormal> <GoogleScript><a href="https://maps.googleapis.com/maps/api/js?key=API" target="_blank">https://maps.googleapis.com/maps/api/js?key=API</a> KEY</GoogleScript>"<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>or do you mean I change the <a href="http://www.google.com" target="_blank">http://www.google.com</a> links in fusionSF-compressed.js to <a href="https://mt0.google.com/vt/lyrs=m&hl=en&x=$%7Bx%7D&y=$%7By%7D&z=$%7Bz%7D" target="_blank">https://mt0.google.com/vt/lyrs=m&hl=en&x=${x}&y=${y}&z=${z}</a>?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thank you <o:p></o:p></p></div><div><p class=MsoNormal>Hadis<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div></div></div><div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Wed, Oct 5, 2022 at 3:19 PM Gordon Luckett <<a href="mailto:gordon.luckett@arrowgeomatics.com" target="_blank">gordon.luckett@arrowgeomatics.com</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><p class=MsoNormal>Something has recently changed in the past month or so with the Google API.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>I have changed all my links to Google to use the XYZ version:<o:p></o:p></p></div><div><p class=MsoNormal><a href="https://mt0.google.com/vt/lyrs=m&hl=en&x=$%7Bx%7D&y=$%7By%7D&z=$%7Bz%7D" target="_blank">https://mt0.google.com/vt/lyrs=m&hl=en&x=${x}&y=${y}&z=${z}</a> <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><div><p class=MsoNormal>You should still have an API Key (or at least pay for the licence) as it is required by the TOS <o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Wed, Oct 5, 2022 at 2:04 PM Hadis Alinia <<a href="mailto:hadissaalinia@gmail.com" target="_blank">hadissaalinia@gmail.com</a>> wrote:<o:p></o:p></p></div></div><div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><div><div><div><p class=MsoNormal>Hi, <o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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 "<span style='color:black;background:#F0F0F0'>Cannot read properties of undefined (reading 'width')</span><o:p></o:p></p></div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana",sans-serif;color:black'><br><span style='background:#F0F0F0'>Stack Trace:</span></span><o:p></o:p></p><pre style='background:#F0F0F0'><span style='color:black'> - ? at /mapguide/fusion/lib/fusionSF-compressed.js (line: 57)<o:p></o:p></span></pre><pre style='background:#F0F0F0'><span style='color:black'> - ? at <a href="https://maps.googleapis.com/maps-api-v3/api/js/50/7a/util.js" target="_blank">https://maps.googleapis.com/maps-api-v3/api/js/50/7a/util.js</a> (line: 328)<o:p></o:p></span></pre><pre style='background:#F0F0F0'><span style='color:black'> - ? at <a href="https://maps.googleapis.com/maps-api-v3/api/js/50/7a/util.js" target="_blank">https://maps.googleapis.com/maps-api-v3/api/js/50/7a/util.js</a> (line: 21) <o:p></o:p></span></pre><div><p class=MsoNormal><span style='color:black;background:#F0F0F0'> - ? at /mapguide/fusion/lib/fusionSF-compressed.js (line: 55)"</span> <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I even changed <span style='color:black;background:#F0F0F0'>fusionSF-compressed.js to fusionSF.js still doesn't work.</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The MapGuide version 2 was working with commercial layers. <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>What is the reason and what changes need to be made?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thank you <o:p></o:p></p></div><div><p class=MsoNormal>Hadis<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div></div></div></blockquote></div><div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><p class=MsoNormal>_______________________________________________<br>mapguide-users mailing list<br><a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapguide-users</a><o:p></o:p></p></blockquote></div><p class=MsoNormal>_______________________________________________<br>mapguide-users mailing list<br><a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapguide-users</a><o:p></o:p></p></blockquote></div></div><p class=MsoNormal>_______________________________________________<br>mapguide-users mailing list<br><a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapguide-users</a><o:p></o:p></p></blockquote></div><p class=MsoNormal>_______________________________________________<br>mapguide-users mailing list<br><a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapguide-users</a><o:p></o:p></p></blockquote></div><p class=MsoNormal>_______________________________________________<br>mapguide-users mailing list<br><a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapguide-users</a><o:p></o:p></p></blockquote></div></div></body></html>