zulfahmi / mbari-dss

Automatically exported from code.google.com/p/mbari-dss
0 stars 0 forks source link

planning editor: Map sync issues when editor included directly within main ODSS #133

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open ODSS - http://odss-test.shore.mbari.org/odss/
2. Click Planning tab
3. Resize window and keep doing the resizing for a bit

What is the expected output? What do you see instead?

Expected: Google map and Openlayers map properly kept in sync.

Instead, misalignment occurs. Depending on the initial window size, the 
misalignment may happen right after clicking the Planning tab without need to 
resize the browser window.

*NOTE*:  Everything is properly in sync when the editor is exercised directly, 
that is, outside of the ODSS application 
(http://odss-test.shore.mbari.org/odss/odssplatim-ui/dist/), which suggests 
possible conflicts in the way the corresponding libraries (Google maps and 
Openlayers) are set up in the first place by both the main ODSS and the 
planning editor module in terms of timers or default behaviors.  Note that 
default behaviors for the google map in the planning editor are disabled such 
that the control is driven from the OpenLayers3 map.

Original issue reported on code.google.com by caru...@gmail.com on 11 May 2015 at 5:51

GoogleCodeExporter commented 8 years ago
https://code.google.com/p/mbari-dss/source/detail?r=1263

odssplatim-ui: 0.7.2: some extra update logic to reduce occurrence of #133:
"planning editor: Map sync issues when editor included directly within main
ODSS"

Enabled by default, and can be disabled by adding "?debug" and "skipMapSync" to
the window location, for example:
  http://odss-test.shore.mbari.org/odss/?debug,skipMapSync
  http://odss-test.shore.mbari.org/odss/odssplatim-ui/dist/?debug,skipMapSync

Original comment by caru...@gmail.com on 11 May 2015 at 6:56

GoogleCodeExporter commented 8 years ago
In odssplatim-ui: 0.7.3 that extra logic is commented out given that the editor 
is again being included in ODSS via iframe.  So this is not a real issue for 
the moment, and I'm setting priority-low for this entry.

Original comment by caru...@gmail.com on 19 May 2015 at 5:42