Commit Graph

14 Commits

Author SHA1 Message Date
Tim Schaub 0ec5201f3a Documentation and exports 2014-02-13 10:37:10 -07:00
Tim Schaub f4585331f2 Add setStyle and getStyle to ol.Feature
As with vector layers and feature overlays, feature style can be set by calling
setStyle.  Calling getStyle returns what was passed to setStyle.  Internally, we call getStyleFunction.
2014-02-13 10:25:17 -07:00
Antoine Abt 97ed71dfe2 Remove useless export (already defined in code) 2013-12-18 11:40:00 +01:00
Antoine Abt 4fc6c36724 Add support for features with multiples geometries 2013-12-18 11:37:35 +01:00
Tom Payne 8d3811a79c Add ol.Feature exports 2013-11-20 11:42:08 +01:00
Tom Payne 6b0a7e9c30 Export ol.Feature 2013-11-20 11:42:03 +01:00
Tom Payne 4e65fefc00 Move vector code out of the way 2013-11-20 11:39:21 +01:00
Frederic Junod 764aacb568 Rename {get|set}FeatureId to {get|set}Id 2013-09-17 12:50:56 +02:00
Tim Schaub 8e2b065ece Exporting set and setGeometry
Since the set method is exported on ol.Object, we need to export the method on the feature prototype to get correct behavior.
2013-09-03 11:54:58 -06:00
Tim Schaub 6f98a75fb8 Limit feature exports 2013-08-30 13:14:17 -06:00
Éric Lemoine 0c091e868c ol.Feature.prototype.get need not be exported
get is not overridden in ol.Feature.prototype, so there's no need for a specific export.
2013-08-29 14:05:25 +02:00
ahocevar 8c0f1f979a Store the feature's commonly used id
To not clobber the feature's attributes, this is a separate
member property.
2013-05-23 11:16:17 -05:00
ahocevar 2af82abcda Adding missing export 2013-03-06 21:03:57 +01:00
Tim Schaub e1c3faa53e Vector related exports 2013-03-05 18:13:10 +01:00