Discussion:
[mapguide-users] Google Offset in MGOS 3.1.1
GordonL
2018-11-13 16:22:27 UTC
Permalink
Today I noticed that Google is off-set (OpenStreetMap is fine).
Any ideas?

<Loading Image...>

<Loading Image...>




--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
GordonL
2018-11-13 16:53:40 UTC
Permalink
This affects all MGOS 3.1.1 sites currently using Google. just happened
overnight.





--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
Kajar
2018-11-13 17:24:08 UTC
Permalink
Same problem, now it's clear that this is not only my problem :)
Whats going on with it?

Kajar



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
GordonL
2018-11-13 17:33:16 UTC
Permalink
Solved it: Google has updated it's API in the past couple of days. This
offsets the map.

I just had to force it to use the older API:


<GoogleScript>https://maps.googleapis.com/maps/api/js?key=AIzaSyD9iypThfjzfCwasdaasdfasdfe_dGs*&amp;v=3.33*</GoogleScript>





--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
RenoSun
2018-11-13 17:37:46 UTC
Permalink
I wonder why we couldn't use the latest version. What did Google Map API
change to cause this offset issue?



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
Charl Beukes
2018-11-13 17:42:23 UTC
Permalink
I also turned to the Google release notes and dint find anything after 3.35
which worked perfectly till last night as well. Glad someone fixed it cause
I was busy testing all possible coordinate systems.
Post by RenoSun
I wonder why we couldn't use the latest version. What did Google Map API
change to cause this offset issue?
--
http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
_______________________________________________
mapguide-users mailing list
https://lists.osgeo.org/mailman/listinfo/mapguide-users
RenoSun
2018-11-13 17:36:34 UTC
Permalink
Same here with AIMS 2017, fixed by changing the XML of the fusion from

<GoogleScript>http://maps.google.com/maps/api/js?key=APIKEY&amp;v=weekly&amp;use_slippy=true</GoogleScript>
to

<GoogleScript>http://maps.google.com/maps/api/js?key=APIKEY&amp;v=quarterly&amp;use_slippy=true</GoogleScript>



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
GordonL
2018-11-13 19:21:25 UTC
Permalink
The Monthly may end up changing the API next month and you might have the
same issue.

I haven't seen the change that offsets everything in Google API yet.





--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
RenoSun
2018-11-13 22:17:01 UTC
Permalink
Google Map JS API V3.34 will still be working with MapGuide, but not V3.35.
Yeah, I should set the version to 3.34 for now.

I also sent Google Map API team a feedback, and hope they may fix it at some
point. It works for me once for sending them a request about Google Map API
full screen wasn't working with Bootstrap. The street view pegman was having
some offset issue as well.

Cheers,
Reno



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
Continue reading on narkive:
Loading...