Defect #1032

Basket: predefined perimeter does not show a warning if WMS is off scale limit

Added by Blatti Yves over 3 years ago. Updated over 2 years ago.

Status:ClosedStart date:06/08/2015
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:SHOP
Target version:4.4.0
Affected version:4.0.0

Description

When using a predefine perimeter in basket (WFS selection + WMS visualization):
if the WMS if out of the visibility range, there is no message, just a transparent tile.
(We had this in v2)

layer_not_in_range.png (27.6 KB) Blatti Yves, 02/11/2016 05:00 PM

not-visible-v2.png (11.9 KB) Blatti Yves, 02/12/2016 10:11 AM

History

#1 Updated by Blatti Yves over 2 years ago

  • Status changed from New to Affected
  • Assignee set to Blatti Yves

Can be checked with : appname.mapPanel.map.getLayersByName('perimeterLayer')[0].inRange

Should be checked on map.changelayer and add or remove layers... something like:

appname.mapPanel.map.events.register('changelayer',this,function(e){
  if(e.property=="visibility" && e.layer.name=="perimeterLayer"){
    //need to check inRange
    console.log(e);
  }

});

appname.mapPanel.map.events.register('addlayer',this,function(e){
  if(e.layer.name=="perimeterLayer"){
    //need to check inRange
    console.log(e);
  }

});

appname.mapPanel.map.events.register('removelayer',this,function(e){
  if(e.layer.name=="perimeterLayer"){
    //need to check inRange
    console.log(e);
  }

});

#2 Updated by Blatti Yves over 2 years ago

Presentation to user:

#3 Updated by Blatti Yves over 2 years ago

  • Subject changed from Basket: prefedined perimeter does not show a warning if WMS is off scale limit to Basket: predefined perimeter does not show a warning if WMS is off scale limit
  • Status changed from Affected to Resolved
  • Target version set to 4.4.0
  • % Done changed from 0 to 100

rev. 9466

#4 Updated by Blatti Yves over 2 years ago

Final version: used the crossed eye, as 'non visible' icon, and added a tooltip

#5 Updated by Blatti Yves over 2 years ago

  • File deleted (2016-02-12 10_10_07-Mon panier - ASIT VD.png)

#6 Updated by Blatti Yves over 2 years ago

  • Status changed from Resolved to To merge

#7 Updated by Blatti Yves over 2 years ago

  • Assignee changed from Blatti Yves to Van Hoecke Hélène

#8 Updated by Van Hoecke Hélène over 2 years ago

  • Status changed from To merge to Closed

#9 Updated by Van Hoecke Hélène over 2 years ago

  • Assignee deleted (Van Hoecke Hélène )

Also available in: Atom PDF