Re: [mapguide-users] Google strikes again (v3.1.2)

2019-12-12 Thread Kajar
Good to know.
Then I use also weekly option.
By the Google api doc  I should setup it like below, but this is not working
for me: 
js?v=weekly=YOUR_API_KEY">

Using ...v=weekly seems to work.
Is it correct way to define key for mapguide map?



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-12-12 Thread RenoSun
The Town of Qualicum Beach's GIS is still using MG 3.1.2 and Google Maps API
Weekly Version. It seems having no shift issues displaying its map with
Google Maps API using WGS 84 / Pseudo-Mercator coordinate system. 

https://maps.qualicumbeach.com/QB/Property.aspx?m=Property=G_NORMAL_MAP=1=-13860635.263713,6329307.6368184,-13845777.816343,6336932.2303888==Aerial%20Photo%202019==



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-12-12 Thread Kajar
Can someone please tell me also how to define correctly version parameters
for API key.
Currently I was using: .v=3.35use_slippy=true
Now when I use same way(use 3.37 instead 3.35) I will get warning: You have
included the Google Maps JavaScript API multiple times on this page. This
may cause unexpected errors.

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-12-12 Thread Kajar
Now I'm getting another error, maybe this is causing issues and not Google:
Error:
fusionSF.js:50778 [Intervention] Unable to preventDefault inside passive
event listener due to target being treated as passive. See
https://www.chromestatus.com/features/6662647093133312
preventDefault @ fusionSF.js:50778
stop @ fusionSF.js:50758
onWheelEvent @ fusionSF.js:72152
(anonymous) @ fusionSF.js:46699

This  points me:
 

Anyone can explain what it means and how to fix this.

Kajar






--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-12-11 Thread Kajar
It seems that there are problems with Google API version again.
Couple of days back I noticed that some layers are acting strang: disappear
in some map scale when zoom in or out.
I checked error on site, and it saying you api version is retired. I was
using 3.35, currently supported is 3.37.
I changed it to 3.37, errors are gone but layer still acting the same.
Everyone else haven't noticed something strange?

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-06-06 Thread yuvalkimel
Gordon hi
Your solution worked great.
Tnx a lot
Yuval



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-06-06 Thread GordonL
Yes, and there is not guarantee that it will be available in the near future.  
They could change the URLs at any time.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-06-05 Thread RenoSun
I think Google doesn't really want the mapguide users to use Google base
maps...

*3.37*
15 May 2019
Version 3.37 of the Maps JavaScript API is now available. See the Versioning
guide.

The weekly channel was updated to version 3.37.
The quarterly channel was updated to version 3.36.
Version 3.35 is still available when requested by number.
*Version 3.34 was deleted, and can no longer be used.
Internet Explorer 9 can no longer be used (3.34 was the last version to
support it).*

https://developers.google.com/maps/documentation/javascript/releases



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-05-29 Thread Andrew DeMerchant
I'm more than happy to find a real solution - but as of yet, no such luck. It's 
still broken for me out of the box.


[GEMTEC]<https://www.gemtec.ca/>

Andrew DeMerchant

Fredericton, NB
tel: 506.453.1025 x163  /  toll-free: 1.877.243.6832
mobile: 506.470.2007 /  fax: 506.453.9470



From: mapguide-users  on behalf of 
Jackie Ng 
Sent: Wednesday, May 29, 2019 9:20 AM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Google strikes again (v3.1.2)

I can't endorse this "solution" with anything other than "use at your own
(legal) risk".

Direct access of Google's tiles without going through their JS API is a
major TOS no-no last time I checked.

- Jackie



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-05-29 Thread Jackie Ng
I can't endorse this "solution" with anything other than "use at your own
(legal) risk".

Direct access of Google's tiles without going through their JS API is a
major TOS no-no last time I checked.

- Jackie



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-05-24 Thread GordonL
Like the renaming the FIND function above, here is an alternative fix:
In the C:\Program Files\OSGeo\MapGuide\Web\www\fusion\lib\fusionSF.js

First step:
Around line 132537
Rename the Array to find2



Second Step:
Also in FusionSF.js around line 132427
Rename to find2






--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-05-24 Thread yuvalkimel
Gordon hi.
I tried you fix for the google problem/ it worked on google background but
now i have another problem I cannot select objects on the map. the error
massage in the developer tool is




MgClassNotFoundException



The specified class was not found.

The specified class was not found.

- MgRenderingServiceHandler.ProcessOperation() line 83 file
c:\working\build_area\mapguide\2.6.1\x64\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp
- MgOpQueryFeatures.Execute() line 125 file
c:\working\build_area\mapguide\2.6.1\x64\mgdev\server\src\services\rendering\OpQueryFeatures.cpp
- MgServerRenderingService.QueryFeatures() line 853 file
c:\working\build_area\mapguide\2.6.1\x64\mgdev\server\src\services\rendering\ServerRenderingService.cpp
- MgServerRenderingService.RenderForSelection() line 1573 file
c:\working\build_area\mapguide\2.6.1\x64\mgdev\server\src\services\rendering\ServerRenderingService.cpp
- MgServerDescribeSchema.GetClassDefinition() line 1066 file
c:\working\build_area\mapguide\2.6.1\x64\mgdev\server\src\services\feature\ServerDescribeSchema.cpp



i am using mg 2.6.
Any help will be apprichiated
Thanks
yuval






--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-05-22 Thread Andrew DeMerchant
Ya, it's url encoded for some reason - I've tried both ways, though. Tried all 
the different Fusion templates too...no luck. I can add any other child map and 
it shows up in my list - just not the xyz, for some reason. Even if I add a 
tile from a tile set definition (though the definition is empty - I have no 
local tiles), it doesn't show in the list.


[GEMTEC]<https://www.gemtec.ca/>

Andrew DeMerchant

Fredericton, NB
tel: 506.453.1025 x163  /  toll-free: 1.877.243.6832
mobile: 506.470.2007 /  fax: 506.453.9470



From: mapguide-users  on behalf of 
GordonL 
Sent: Wednesday, May 22, 2019 4:43 PM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Google strikes again (v3.1.2)

look closer at your URL..i think it has weird symbols...





--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-05-22 Thread GordonL
look closer at your URL..i think it has weird symbols...





--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-05-22 Thread Andrew DeMerchant
That's pretty much what I've got:

[cid:8a3e8bfb-78f9-4581-b144-c3c57ce8ef70]

But the only options that appear in the Fusion layout under "external 
providers" drop down are the VirtualEarth one, and none.


[GEMTEC]<https://www.gemtec.ca/>

Andrew DeMerchant

Fredericton, NB
tel: 506.453.1025 x163  /  toll-free: 1.877.243.6832
mobile: 506.470.2007 /  fax: 506.453.9470



From: mapguide-users  on behalf of 
GordonL 
Sent: Wednesday, May 22, 2019 4:07 PM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Google strikes again (v3.1.2)

Here is what I have with 3.1.2 (note 3.1.1 does not work - and you must
uninstall 3.1.1 before installing 3.1.2)
<http://osgeo-org.1560.x6.nabble.com/file/t195347/google_xyz.jpg>



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-05-22 Thread GordonL
Here is what I have with 3.1.2 (note 3.1.1 does not work - and you must
uninstall 3.1.1 before installing 3.1.2)
 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-05-22 Thread Andrew DeMerchant
When I add that XYZ layer, I'm not seeing it show up in my list of external 
providers for some reason. I added a "generic xyz layer" to my map as a child 
map, and set the tile url. Am I missing a step?


[GEMTEC]<https://www.gemtec.ca/>

Andrew DeMerchant

Fredericton, NB
tel: 506.453.1025 x163  /  toll-free: 1.877.243.6832
mobile: 506.470.2007 /  fax: 506.453.9470



From: mapguide-users  on behalf of 
GordonL 
Sent: Wednesday, May 22, 2019 1:24 PM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Google strikes again (v3.1.2)

Here is a work around (only for MapGuide 3.1.2)  but there is no guarantee
that it will last.

1. Remove your Google Maps Streets
2. Create a new XYZ layer
3. For Google Streets use:
https://mt1.google.com/vt/lyrs=m=${x}=${y}=${z}
4. For Google Hybrid use:
https://mt1.google.com/vt/lyrs=y=${x}=${y}=${z}
5. For Google Satellite use:
https://mt1.google.com/vt/lyrs=s=${x}=${y}=${z}





--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-05-22 Thread GordonL
Here is a work around (only for MapGuide 3.1.2)  but there is no guarantee
that it will last.

1. Remove your Google Maps Streets
2. Create a new XYZ layer
3. For Google Streets use:   
https://mt1.google.com/vt/lyrs=m=${x}=${y}=${z}
4. For Google Hybrid use:
https://mt1.google.com/vt/lyrs=y=${x}=${y}=${z}
5. For Google Satellite use:  
https://mt1.google.com/vt/lyrs=s=${x}=${y}=${z}





--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-05-17 Thread Andrew DeMerchant
Interesting - just a straight install with no fixes or workarounds to get it 
working? I'll see how things are after the weekend. I'm keeping my fingers 
crossed that it breaks for other people, but if not, I may try a reinstall or 
something.


[GEMTEC]<https://www.gemtec.ca/>

Andrew DeMerchant

Fredericton, NB
tel: 506.453.1025 x163  /  toll-free: 1.877.243.6832
mobile: 506.470.2007 /  fax: 506.453.9470



From: mapguide-users  on behalf of 
Kajar 
Sent: Friday, May 17, 2019 3:50 PM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Google strikes again (v3.1.2)

I installed Mapguide 3.1.2 today after Google strike and now Google maps
working for me with or without  parameter v=3.35. At first it seemed not to
work, but after clearing browser cash it started to work.

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-05-17 Thread Kajar
I installed Mapguide 3.1.2 today after Google strike and now Google maps
working for me with or without  parameter v=3.35. At first it seemed not to
work, but after clearing browser cash it started to work.

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-05-17 Thread MHerel
Hi Andrew,

I have a couple of installations. One without a version number and the
others set to V=3.35.

I have tried setting to v 3.34 and 3.33 without any problems so far. Other
than that it the standard business level URL with "client="  etc



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-05-17 Thread Andrew DeMerchant
I guess I'm stuck until it hits more people, then. Mike - are you using any 
sort of custom GoogleScript format in the Fusion XML (ie specifying a version), 
or just the API key?


[GEMTEC]<https://www.gemtec.ca/>

Andrew DeMerchant

Fredericton, NB
tel: 506.453.1025 x163  /  toll-free: 1.877.243.6832
mobile: 506.470.2007 /  fax: 506.453.9470



From: mapguide-users  on behalf of 
MHerel 
Sent: Thursday, May 16, 2019 4:06 PM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Google strikes again (v3.1.2)

Hi Guys,

I have not been able to replicate Andrew's issue on my 3.1.2 installation.
That doesn't seem too unusual to me as previously this seems to have hit
people at different times, so maybe Google rolls out its changes in some
staged manner.

That said, we would like to be on top of this so that we are ready when out
time comes.

I also see that the fusion.js for 3.1.2 does not have the code that is
suggested by Gordon, so that fix does not seem to be an option this time
around.

Good luck...



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-05-16 Thread MHerel
Hi Guys,

I have not been able to replicate Andrew's issue on my 3.1.2 installation.
That doesn't seem too unusual to me as previously this seems to have hit
people at different times, so maybe Google rolls out its changes in some
staged manner.

That said, we would like to be on top of this so that we are ready when out
time comes.

I also see that the fusion.js for 3.1.2 does not have the code that is
suggested by Gordon, so that fix does not seem to be an option this time
around.

Good luck...



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-05-16 Thread Andrew DeMerchant
I'm on 3.1.2 though, which already has some sort of attempted Fusion / Google 
fix.


[GEMTEC]<https://www.gemtec.ca/>

Andrew DeMerchant

Fredericton, NB
tel: 506.453.1025 x163  /  toll-free: 1.877.243.6832
mobile: 506.470.2007 /  fax: 506.453.9470



From: mapguide-users  on behalf of 
kparker 
Sent: Thursday, May 16, 2019 3:05 PM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Google strikes again (v3.1.2)

Google no longer publishes version 3.34. Any version call will default back
to the weekly version. See here:
https://developers.google.com/maps/documentation/javascript/versions

I just applied the fix Gordon linked to my 3.1.1 install and it worked as
described.




--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-05-16 Thread kparker
Google no longer publishes version 3.34. Any version call will default back
to the weekly version. See here: 
https://developers.google.com/maps/documentation/javascript/versions

I just applied the fix Gordon linked to my 3.1.1 install and it worked as
described. 




--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-05-16 Thread Andrew DeMerchant
I'm pretty sure I'd already done that - the word "find" isn't in my fusion.js 
anywhere, which leads me to believe that I already made that change a few 
months ago. If it's working for you, what's your GoogleScript format in the 
Fusion Extension section of the XML for the Fusion Layout? I had put a "v=3.34" 
at the end to make it work before, but that no longer works. Leaving the "v" 
param off also doesn't seem to work now.


[GEMTEC]<https://www.gemtec.ca/>

Andrew DeMerchant

Fredericton, NB
tel: 506.453.1025 x163  /  toll-free: 1.877.243.6832
mobile: 506.470.2007 /  fax: 506.453.9470



From: mapguide-users  on behalf of 
GordonL 
Sent: Thursday, May 16, 2019 1:05 PM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Google strikes again (v3.1.2)

The fix listed here where the function is removed from fusion.js:
http://osgeo-org.1560.x6.nabble.com/Google-Offset-in-MGOS-3-1-1-tp5385642p5396743.html

"Array.prototype.find = function(searchStr) {"

It just worked for me.

gordon




--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-05-16 Thread GordonL
The fix listed here where the function is removed from fusion.js:
http://osgeo-org.1560.x6.nabble.com/Google-Offset-in-MGOS-3-1-1-tp5385642p5396743.html

"Array.prototype.find = function(searchStr) {"

It just worked for me.

gordon




--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Google strikes again (v3.1.2)

2019-05-16 Thread GordonL
Yep, just hit today.  Looking into it..




--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users