Discussion:
[mapguide-users] Fusion - If Using Any of Google Base Maps - Cursor Will Be Off (Hover/Select) - AIMS2017
RenoSun
2017-11-22 00:56:44 UTC
Permalink
Hi All,

I am using AIMS 17, and I noticed that if I am using any Google Base Map
(street/hybrid/satellite), the cursor hover on the map will be off.

My map will not recognize my cursor position on the map correctly...

<Loading Image...>

However, if I am using Bing/OSM as my default base map, the fusion is able
to correctly read my cursor position on the map.

Any places should I look for the hotfix? or change the codes?

Thank you for all your helps!!!



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
RenoSun
2017-11-23 03:22:37 UTC
Permalink
I recreated the fusion layout from scratch without using the layouts migrated
from AIMS 2014. Then.... Problems solved !



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
GordonL
2017-11-27 15:52:14 UTC
Permalink
I had a weird situation where if I hid the Overview widget programatically
before it completely loaded, it would offset the cursor.

What I ended up doing is running the following command in a timeout when the
map first loads:

Fusion.getMapById('Map').oMapOL.updateSize();






--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
RenoSun
2017-11-27 21:22:24 UTC
Permalink
Thank you so much Gordon!

It works perfectly :)



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
RenoSun
2017-11-23 18:55:40 UTC
Permalink
Sorry, the problem still remain... please help



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