Defect #942

MAP colors customization was not ported in V4

Added by Blatti Yves over 4 years ago. Updated over 4 years ago.

Status:ClosedStart date:03/20/2015
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:MAP
Target version:4.3.2
Affected version:4.0.0

Description

With easySDI v4 we have lost a v2 feature:
Customization on MAP colors for vector features. (In V2 was present in easySDI SHOP, because it was the only map back then)

V2 parameters:

Result in V2 JS:

OpenLayers.Feature.Vector.style['default']['fillColor'] = '#7EED18';
OpenLayers.Feature.Vector.style['default']['strokeColor'] = '#663300';
OpenLayers.Feature.Vector.style['default']['strokeWidth'] = '2';
OpenLayers.Feature.Vector.style['select']['fillColor'] = '#7EED18';
OpenLayers.Feature.Vector.style['select']['strokeColor'] = 'white';
OpenLayers.Feature.Vector.style['temporary']['fillColor'] = '#7EED18';
OpenLayers.Feature.Vector.style['temporary']['strokeColor'] = '#663300';

This allows administrators to make a MAP match with site's template.

We should add this back in the MAP parameters. (And use the Joomla nice color picker ;-) )

easySDI_v2_shop_map_parameters.png (7.71 KB) Blatti Yves, 03/20/2015 08:37 AM

History

#1 Updated by Blatti Yves over 4 years ago

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

#2 Updated by Blatti Yves over 4 years ago

  • Status changed from Affected to Resolved
  • % Done changed from 0 to 100

#3 Updated by Blatti Yves over 4 years ago

  • Status changed from Resolved to To merge
  • Assignee changed from Blatti Yves to Integrators

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

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

#5 Updated by Van Hoecke Hélène over 4 years ago

  • Status changed from To merge to Closed

#6 Updated by Van Hoecke Hélène over 4 years ago

  • Target version set to 4.3.2

#7 Updated by Van Hoecke Hélène over 4 years ago

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

Also available in: Atom PDF