Comments

davidserene’s picture

davidserene’s picture

davidserene’s picture

Removed unnecessary code changes from patch.

davidserene’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

dan_metille’s picture

Project: OpenLayers Plus » OpenLayers Plus
Version: 7.x-1.x-dev »
Component: Code » User interface
Category: task » support
Status: Closed (fixed) » Active

Hi,

I'm curious about how to use 'scalepoints'. I gave a try, but was not successful getting any marker size changed and moreover ths.e OL+: Tooltips Field feature stopped to work.

Thanks for any hints.

dan_metille’s picture

Project: OpenLayers Plus » OpenLayers Plus
Version: » 7.x-2.x-dev
Component: User interface » Documentation
davidserene’s picture

Hi you have to create a count/size field for each feature added to the map; this will be used to determine its size and you will have to include the field machine name to reference this field in the definition of the scalepoint behavior. Also i hope you using the latest release of openlayers plus 7.x-3.0-beta1

davidserene’s picture

Version: 7.x-2.x-dev » 7.x-3.0-beta1
Status: Active » Needs review

There was a bug that returns an undefined stylemap object for layers without stylemaps and hence breaks the behavior when a stylemap function [addUniqueValueRules()] is called on this undefined object; A fix has been pushed to 7.x-3.x. We are working on the tooltips field feature.

davidserene’s picture

Hi use the machine name of the field you want to display for tooltips_field behavior; like [field_name-of-field]. The tooltip has no styles but you can provide your own using the class ="openlayers-tooltip-name"