Commit Graph

2961 Commits

Author SHA1 Message Date
Bart van den Eijnden 17356bc3ee Merge pull request #1063 from oterral/parsing_stylemap
Parsing styleMap (r=@bartvde)
2013-10-03 08:01:56 -07:00
ahocevar c03e690882 Merge pull request #1089 from ahocevar/no-geometry-type-groups
No longer group features by geometry type
2013-10-03 07:35:14 -07:00
ahocevar dbb9525515 No longer group features by geometry type
With symbolizer literals now being geometry type specific, we no
longer need the overhead to query the RTree separately for each
geometry type and render symbolizer groups by geometry type.

The geometry type index of the FeatureCache is no longer needed.

The filtering functionality of the FeatureCache's
getFeaturesObject method can be removed because it is no longer
used.
2013-10-03 08:35:11 -06:00
Tim Schaub 58c62a201f Merge pull request #1090 from tschaub/symbolizer-z
Add zIndex property to symbolizers.  Symbolizers with the same zIndex (in addition to other properties) are considered equal.  A subsequent change will sort features by symbolizer zIndex before rendering.
2013-10-02 22:32:34 -07:00
Tim Schaub 82e8da8df5 Removed unused stroke defaults for select intent 2013-10-02 17:38:19 -06:00
Tim Schaub bfa257eac1 Default value for zIndex 2013-10-02 17:31:42 -06:00
Tim Schaub 43c581ef5f Optional zIndex for text symbolizers 2013-10-02 17:31:33 -06:00
ahocevar adc1d130c8 Rename ol.renderer.canvas.VectorRenderer
To be consistent with our naming convention, this one should be
renamed to ol.renderer.canvas.Vector.
2013-10-02 15:58:27 -06:00
Tim Schaub b9a44d2db5 Optional zIndex for shape symbolizers 2013-10-02 15:51:14 -06:00
Tim Schaub b7cb21dc4a Optional zIndex for icon symbolizers 2013-10-02 15:26:17 -06:00
Tim Schaub 33cacab11c Optional zIndex for stroke symbolizers 2013-10-02 15:12:22 -06:00
Tim Schaub 04a23d0e45 Optional zIndex for fill symbolizers 2013-10-02 15:10:42 -06:00
Éric Lemoine 96fa07effb Merge pull request #1073 from elemoine/export-supported
Fix exports for ol.Geolocation | DeviceOrientation.SUPPORTED
2013-10-02 05:48:26 -07:00
Tom Payne 57b4606aeb Merge pull request #1079 from twpayne/no-glsl-unit
Remove glsl-unit
2013-10-02 03:23:38 -07:00
Frédéric Junod 948735f948 Merge pull request #1075 from fredj/center-constraint
Add ol.CenterConstraint
2013-10-02 02:54:17 -07:00
Tom Payne 16729065a6 Update built shader source 2013-10-01 18:33:36 +02:00
Tom Payne 167b309242 Replace source ready flag with loading/ready/error enum 2013-09-30 13:30:54 +02:00
Frederic Junod 680f5cbb5a Constrain center in ol.interaction.TouchPan 2013-09-30 10:37:02 +02:00
Tom Payne 2e395e4530 Constrain center in ol.interaction.DragPan 2013-09-30 10:17:24 +02:00
Tom Payne 92f7f14744 Constrain center in ol.interaction.Interaction.pan 2013-09-30 10:17:24 +02:00
Tom Payne 73b9b6b6a0 Add center constraint to ol.View2D 2013-09-30 10:17:24 +02:00
Tom Payne 1c003b5ab1 Add ol.CenterConstraint 2013-09-30 10:17:24 +02:00
Éric Lemoine 5c5fcb7e06 Use @exportSymbol for exporting ol.webgl.SUPPORTED
For consistency with the way we export ol.DeviceOrientation.SUPPORTED and ol.Geolocation.SUPPORTED.
2013-09-28 22:47:25 +02:00
Éric Lemoine 925b5d285a Fix export for ol.DeviceOrientation.SUPPORTED 2013-09-28 22:44:59 +02:00
Éric Lemoine 43561c302e Fix export for ol.Geolocation.SUPPORTED 2013-09-28 22:44:35 +02:00
Tim Schaub ce6fd5ab36 Remove dimension option from KML parser
Geometry constructors now accept coordinates in any dimension
2013-09-27 23:18:34 +01:00
Tim Schaub 1aa83e133b Remove dimension property from geometries
This was only necessary when using the shared vertices structure.
2013-09-27 23:18:34 +01:00
Tim Schaub 563918d58d Clone should not share bounds 2013-09-27 23:18:34 +01:00
Tim Schaub 3aff5e19f1 Remove shared vertices 2013-09-27 23:18:34 +01:00
Tim Schaub 0b5058f72e Remove shared vertex handling from vector layer 2013-09-27 23:18:34 +01:00
Tim Schaub 33457c48de Add transform method to geometries
In the typical sequence of parse-transform-render the most efficient place to transform coordinate values is deep within the parser immediately after values have been read (this would avoid a second pass over whatever structure is used to back geometries).  To accomplish this transform during parsing, we could add back parser read options to pass the transform function around.

Until then, a transform method on geometries is straightforward to implement.  This means we do a second pass through coordinate structures to transform, but this is typically done only once immediately after parsing.
2013-09-27 23:18:34 +01:00
Tim Schaub e1ba1d8887 Remove use of shared structures in feature parsers 2013-09-27 23:18:34 +01:00
Tim Schaub 2850c761cf Remove use of shared vertices in geom package 2013-09-27 23:18:17 +01:00
ahocevar 3349bded1c Merge pull request #1065 from ahocevar/skip-hidden
Select interaction does not work with shape symbolizers and canvas renderer
2013-09-27 05:45:50 -07:00
Tim Schaub bbef15e50e Consider resolution when applying rules 2013-09-27 11:46:48 +02:00
Tim Schaub 78c54addb3 Add min/maxResolution properties to rule options 2013-09-27 11:45:43 +02:00
ahocevar f8e891ff15 Making the condition for adding to selection configurable 2013-09-27 11:45:15 +02:00
Frédéric Junod 2878309a41 Merge pull request #1067 from fredj/attribution_osm_option
Remove 'attribution' option from ol.source.OSMOptions
2013-09-26 06:10:17 -07:00
Frederic Junod 9891e5fbc2 Remove 'attribution' option from ol.source.OSMOptions 2013-09-26 14:15:46 +02:00
Olivier Terral 422efbe38b Use quoted properties to fix build failure in advanced mode 2013-09-26 13:11:10 +02:00
ahocevar c556ddd593 Skip hidden features for hit detection 2013-09-26 12:56:49 +02:00
Frédéric Junod b5035888f6 Merge pull request #1044 from fredj/tileLoadFunction_override
Allow tile load override for all ol.source.TileImage based classes
2013-09-26 03:36:31 -07:00
Tom Payne 9b491d1247 Merge pull request #1059 from twpayne/next-tick
Use goog.async.nextTick instead of goog.async.Delay
2013-09-26 03:16:25 -07:00
Olivier Terral 518658d7de Add styleMap writer 2013-09-26 08:54:22 +02:00
Olivier Terral e7222c040c Fix styleUrl parsing 2013-09-26 08:54:22 +02:00
Olivier Terral 39e56f3e61 Add styleMap parsing 2013-09-26 08:54:22 +02:00
Frederic Junod 907e796b55 Allow tileLoadFunction override for ol.source.MapQuestOSM and MapQuestOpenAerial 2013-09-24 15:54:53 +02:00
Tom Payne 1671a343b4 Use goog.async.nextTick instead of goog.async.Delay 2013-09-24 15:27:55 +02:00
Frederic Junod 9fcd057c1e Allow tileLoadFunction override for ol.source.Stamen 2013-09-24 13:33:01 +02:00
Frederic Junod 4614a43d48 Allow tileLoadFunction override for ol.source.WMTS 2013-09-24 13:33:01 +02:00