wmbeers / cmv-app

CMV - The Configurable Map Viewer - A community supported open source mapping framework built with the Esri JavaScript API and the Dojo Toolkit
https://demo.cmv.io/
MIT License
1 stars 2 forks source link

External links to open AOI only work the first time. #9

Closed wmbeers closed 4 years ago

wmbeers commented 4 years ago

How often can you reproduce it?

Description: Per Mike: direct link to view AOI on the map works in Chrome the first time or when no map window is open, and then fails after that. It will switch to the map tab but won't load the next AOI.

Steps to reproduce:

  1. Go to https://stage.fla-etat.org/est/secure/Search.do?searchTerms=AOI%20AND%20type:aoi
  2. Click on any of the View on Map links
  3. Wait for map to open
  4. Leave map window open, go back to search results, click another link

Expected results:

Map should get focus, add the second AOI, zoom to the second AOI's extent.

Actual results:

Map gets focus, but nothing else happens.

wmbeers commented 4 years ago

Related: links from the old search results page also need to be updated, as they're still using the old ArcIMS format. Question is which of the showAoiOnMap methods is the one actually used (menu2.js showAoiOnMap, or mapit.js).

wmbeers commented 4 years ago

See changes in EST code referenced here: https://repo.fla-etat.org/bugzilla/show_bug.cgi?id=5434#c23