Tim Schaub
7f66376315
Basic popup example
2013-08-28 12:28:47 -06:00
Éric Lemoine
e93383c859
Merge pull request #934 from elemoine/vector-layer
...
ol.layer.Vector pass original options to parent
2013-08-28 10:19:45 -07:00
Tim Schaub
dd37d0e736
Slightly less giant icon
2013-08-28 10:45:24 -06:00
Tim Schaub
9ef439ba23
Exports for specific geometry types
2013-08-28 10:41:07 -06:00
Tim Schaub
fb27d44840
Merge pull request #931 from tschaub/example-data
...
Move png to data to work with host-examples task.
2013-08-28 07:46:13 -07:00
Éric Lemoine
3deeaa21c7
ol.layer.Vector pass original options to parent
...
This makes it possible to pass arbitrary property to ol.layer.Vector and use layer.get('property_name') to get the value of properties.
2013-08-28 14:13:37 +02:00
Frederic Junod
d091cfd508
Move focus_ position update into handleMapBrowserEvent
...
Otherwise, the position is only updated on keyboard or mouse wheel events.
2013-08-28 12:39:25 +02:00
Frédéric Junod
377f031860
Merge pull request #932 from fredj/unclosed_div
...
Fix unclosed div in examples/icon.html
2013-08-28 03:36:04 -07:00
Frederic Junod
010eda74df
Fix unclosed div in examples/icon.html
2013-08-28 11:58:33 +02:00
Frederic Junod
ecf953a125
Remove pressed_ variable and rely on down_ to check if a mouse button is pressed
2013-08-28 11:28:50 +02:00
Éric Lemoine
c608e15943
Merge pull request #929 from elemoine/collectionevent
...
Add ol.CollectionEvent#getElement
2013-08-28 02:16:57 -07:00
Frederic Junod
dc5b209f7f
Change previous_ local variable type to boolean
...
And rename it to pressed_ for clarity; the variable represents whether
the mouse button is pressed
2013-08-28 11:16:45 +02:00
Frederic Junod
9306704c1d
Add documentation in mapbrowserevent.js
2013-08-28 11:16:44 +02:00
Tim Schaub
ab2c4387b8
Move png to data to work with host-examples task
2013-08-27 16:36:13 -06:00
Tim Schaub
01ab16d7d6
Merge pull request #923 from tschaub/icon
...
Add xOffset and yOffset support to icon symbolizers.
2013-08-27 15:25:22 -07:00
Tim Schaub
e9aa316007
Call getUid once
2013-08-27 16:22:45 -06:00
Tim Schaub
6b625e368b
Account for icon offsets when doing feature hit detection
2013-08-27 16:22:45 -06:00
Tim Schaub
efeb00e4a5
Add x/y offset for icon symbolizers
2013-08-27 16:22:45 -06:00
Tim Schaub
6baf5d0b18
Export ol.geom.Geometry.prototype.getCoordinates
2013-08-27 16:22:45 -06:00
Tim Schaub
9c824584b3
Example using an icon symbolizer and displaying a popup
...
I'm adding this example to demonstrate a few things that should change:
* the icon symbolizer should accept xOffset and yOffset in pixels
* the `ol.geom.Geometry.prototype.getCoordinates` method should be exported
* overlays should have a `panIntoView` method
2013-08-27 16:22:45 -06:00
Tim Schaub
700bb64d2d
Merge pull request #927 from tschaub/null-crs
...
Accept null crs in GeoJSON.
2013-08-27 13:51:18 -07:00
Éric Lemoine
d1e879e03f
Use ol.Collection#getElement in tests
2013-08-27 22:11:33 +02:00
Éric Lemoine
9895f879f9
Export ol.CollectionEvent#getElement
2013-08-27 22:08:26 +02:00
Éric Lemoine
9f2c351057
Use ol.CollectionEvent#getElement in LayerGroup
2013-08-27 22:07:45 +02:00
Éric Lemoine
b9f2f7bcb4
Add ol.CollectionEvent#getElement
2013-08-27 22:07:03 +02:00
Tim Schaub
0c555e6e7d
Accept null crs
2013-08-27 10:54:00 -06:00
Éric Lemoine
6b6639f620
Merge pull request #924 from elemoine/getextent
...
Export ol.source.Source.prototype.getExtent
2013-08-27 08:02:49 -07:00
Éric Lemoine
f273be6597
Export ol.source.Source#getExtent
2013-08-27 15:42:55 +02:00
Tim Schaub
e8ddecc8b1
Merge pull request #920 from tschaub/point-examples
...
Cast to number when creating literals from symbolizers where literal properties must be numeric.
2013-08-26 11:57:09 -07:00
Tim Schaub
ecba1d78c2
Merge pull request #921 from tschaub/geojson-crs
...
Parse top-level crs member when reading features from GeoJSON.
2013-08-26 10:41:14 -07:00
Tim Schaub
0a3e46b88d
Remove unnecessary cast and save 15 bytes using goog.isDef
2013-08-26 09:26:07 -06:00
Tim Schaub
eaf447759f
Merge pull request #913 from tschaub/dimension
...
Allow for vector data with unknown or inconsistent dimension.
2013-08-26 05:59:50 -07:00
Tim Schaub
7e2bd66417
Read crs from top-level object when parsing as features
2013-08-25 12:32:22 -06:00
Tim Schaub
379c11e1ce
Add externs for GeoJSON crs member
2013-08-25 12:22:08 -06:00
Tim Schaub
9755240cac
Leaving the + operator as a convenience for concatenating strings
...
When people need to serialize in a format that differentiates string concatenation from addition, they can use the new `concat` function in an expression. But I don't think we need to throw if people use `+` with strings.
2013-08-23 18:33:52 -04:00
Tim Schaub
8190178fc9
Missing test dependency
2013-08-23 18:28:44 -04:00
Tim Schaub
6ddef67cd9
Add KML earthquake example
2013-08-23 18:17:42 -04:00
Tim Schaub
3c993168c4
Cast to numbers for literals
...
There are times when we parse from XML without a schema (e.g. KML). In these cases, features attributes will always be strings. We can cast to number when creating literals from symbolizers and then assert `!isNaN` instead of asserting that they are numbers before.
2013-08-23 17:30:24 -04:00
Tim Schaub
43953c8efa
Call concat instead of using math op in FE expression parsing
2013-08-23 16:46:33 -04:00
Tim Schaub
3b615fa312
Add a concat function for concatenating strings
2013-08-23 13:05:12 -04:00
Frédéric Junod
637bbeb2a7
Merge pull request #903 from fredj/keyboard
...
Don't react to keyboard events when the focus is on editable inputs
2013-08-22 23:40:42 -07:00
Tom Payne
9a994eab47
Merge pull request #918 from twpayne/source-change-events
...
Source change events
2013-08-21 07:40:54 -07:00
Tom Payne
0170c426ee
Propagate change events from sources via layers
2013-08-21 12:29:49 +02:00
Tom Payne
788ac5f41d
Add ol.source.Source#dispatchChangeEvent
2013-08-21 12:29:28 +02:00
Frederic Junod
9e8d559c1b
Don't react to keyboard events when the focus is on editable inputs
2013-08-20 14:44:40 +02:00
Tim Schaub
554a725d1a
Merge pull request #912 from tschaub/seperate-fill-stroke
...
Separate fill and stroke symbolizers. Allow styles with no rules (and also support "else" symbolizers).
2013-08-19 15:43:06 -07:00
Éric Lemoine
9e43719ffb
Merge pull request #682 from elemoine/export-func
...
missing exports
2013-08-19 09:14:16 -07:00
Éric Lemoine
d0f793b7a0
Fix bad option name in ol.control.defaults
2013-08-19 17:00:43 +02:00
Éric Lemoine
d6d15db6e8
Use @exportFunction to export animation functions
2013-08-19 17:00:43 +02:00
Éric Lemoine
f67d3dc165
Use @exportFunction to export ol.interaction.defaults
2013-08-19 17:00:43 +02:00