ahocevar
467bcc8b62
Protect from features without geometry
2013-11-11 21:51:58 +01:00
Tim Schaub
85500fb616
Merge pull request #1252 from tschaub/expose-down
...
Add a getter for the most recent down event.
2013-11-11 11:27:19 -08:00
Bart van den Eijnden
351f4a57fb
Merge pull request #1258 from bartvde/wkt
...
add an example of how to use a WKT string in a vector source (r=@tschaub)
2013-11-11 07:14:26 -08:00
Bart van den Eijnden
9842140495
get rid of unused markup in example
2013-11-11 15:56:15 +01:00
Bart van den Eijnden
3f7c40b1ad
add an example of how to use a WKT string in a vector source
2013-11-11 12:45:06 +01:00
Jackie Ng
60825f0f99
Add MapGuide untiled map support to ol3.
...
This adds a new ol.source.MapGuide class that is initialized with an options object that can contain the following values:
- projection: The projection of the Map Definition in EPSG format
- url: The mapagent URL
- useOverlay: Determines whether the GETMAPIMAGE (false) or GETDYNAMICMAPOVERLAYIMAGE (true) will be used for requesting the map image. When using GETMAPIMAGE, you must include a valid MAPDEFINITION parameter in the 'params' option property. When using GETDYNAMICMAPOVERLAYIMAGE, you must include a valid SESSION and MAPNAME parameters in the 'params' option property.
- metersPerUnit: A required value used for calculating the map scale needed by the image request. This value can be calculated using the MapGuide Web API or obtained through the new CREATERUNTIMEMAP operation in MapGuide Open Source 2.6
- params: A set of key-value pairs to append to the mapagent request
- extent: The bounds of the layer
An example is included to demonstrate this new layer source. Like ol2, this example uses the MapGuide Server on data.mapguide.com
2013-11-11 21:19:27 +11:00
Éric Lemoine
fdad53c619
Merge pull request #1231 from oterral/mouse_events
...
Fix touch events on IE10
2013-11-10 02:44:12 -08:00
ahocevar
03e20ce6f1
Do not fail on non-vector layers
2013-11-09 16:12:13 +01:00
ahocevar
26c8c954c3
Make selectedFeaturesFilter available to other components
2013-11-09 16:03:30 +01:00
ahocevar
97d38820fb
Removing no longer used getFeatureWithUid method
2013-11-09 14:44:40 +01:00
ahocevar
d9fd459654
Do not use a temporary layer for selected features
2013-11-09 14:15:35 +01:00
ahocevar
9fca2c407d
Add a getFeatures method on the vector layer
2013-11-09 14:15:35 +01:00
ahocevar
7cf636147b
Call setRenderIntent on the feature, not the layer
2013-11-09 14:15:35 +01:00
Frédéric Junod
d2281c4868
Merge pull request #1248 from fredj/apidoc_changename
...
ol.Object.getChangeEventType and key.toLowerCase
2013-11-09 04:52:33 -08:00
Bart van den Eijnden
ba4d90bac1
Merge pull request #1254 from bartvde/parsertests
...
change the afterLoad utility test functions (r=@elemoine,@tschaub)
2013-11-08 12:23:39 -08:00
Bart van den Eijnden
ffc2277c68
make tests pass in the test runner as well by not checking for status code
2013-11-08 20:59:58 +01:00
Bart van den Eijnden
cc4c0bda60
use plain XMLHttpRequest instead of goog.net.XhrIo
2013-11-08 20:34:03 +01:00
Tim Schaub
484b8f007e
Merge pull request #1253 from tschaub/interaction-events
...
Make interactions event targets.
2013-11-08 08:32:49 -08:00
Olivier Terral
67d3b4527a
Modify comments
2013-11-08 17:15:58 +01:00
Olivier Terral
726a04ce3e
Forbid right click to trigger singleclick events on IE10
2013-11-08 13:30:58 +01:00
Olivier Terral
d0b0d0470b
Fix singleclick and doubleclick on windows Surface
2013-11-08 13:30:58 +01:00
Bart van den Eijnden
dc0dc32d6b
make some minor fixes to the parser test cases, such as using afterLoadXml everywhere and making sure done is used in all async tests
2013-11-08 11:27:58 +01:00
Frederic Junod
b54547a4e1
Fix 'change' event name in apidoc
2013-11-08 08:06:11 +01:00
Tim Schaub
009f7b53a1
Make interactions event targets
2013-11-07 16:39:05 -07:00
Frédéric Junod
7fb7a472b7
Merge pull request #1249 from fredj/apidoc_function
...
More precise {function} jsdoc definition
2013-11-07 13:22:30 -08:00
Tim Schaub
cd57d4639d
Merge pull request #1251 from tschaub/expire-after-render
...
Only call expireTiles_ if already rendered.
2013-11-07 10:41:15 -08:00
Tim Schaub
22fb418236
Provide a method to get the most recent down type event
...
This will allow interactions to conditionally handle later events based on the down event.
2013-11-07 11:21:01 -07:00
Tim Schaub
812cb7fb12
Leave the down_ event set
...
The other "up" type listeners (for touch and pointer) do not set this to null. This event can be of use to a click listener that might want to compare the down position to the click event's position.
2013-11-07 11:02:04 -07:00
Tim Schaub
dbc3109ddb
Only call expireTiles_ if already rendered
2013-11-07 10:30:58 -07:00
Frederic Junod
01cc19af80
More precise {function} jsdoc definition
2013-11-07 16:03:19 +01:00
Frédéric Junod
7f120ba685
Merge pull request #1244 from fredj/ol.js
...
Add project name and link to the compiled output
2013-11-07 03:32:45 -08:00
Frederic Junod
26ed0f3f12
Add project name and link to the compiled output
2013-11-07 09:03:43 +01:00
ahocevar
5c1502effb
Merge pull request #1246 from ahocevar/fix-travis
...
Use a released version of jsdoc. Fixes #1245 .
2013-11-06 10:21:00 -08:00
ahocevar
d524973fd3
Use a released version of jsdoc
2013-11-06 19:11:21 +01:00
Frédéric Junod
aae8040e3a
Merge pull request #1240 from fredj/export_rotate
...
Export ol.coordinate.rotate
2013-11-06 04:29:09 -08:00
Frédéric Junod
a9e980be0c
Merge pull request #1241 from fredj/coordinate_format_tests
...
Add tests for ol.coordinate.format
2013-11-06 03:38:14 -08:00
Frederic Junod
116b107cb2
Add tests for ol.coordinate.format
2013-11-06 09:23:13 +01:00
Frederic Junod
09e4c985a0
Export ol.coordinate.rotate
2013-11-06 08:58:06 +01:00
Frederic Junod
a31a28278d
Sort exports alphabetically
2013-11-06 08:57:15 +01:00
Frédéric Junod
ea73388c56
Merge pull request #1232 from fredj/describe.only
...
Use describe instead of describe.only
2013-11-05 08:02:08 -08:00
Tom Payne
ee53fa7174
Merge pull request #1230 from glennvorhes/for_loop_iter
...
Remove declared iteration variables before for-loop
2013-11-05 02:00:23 -08:00
Frederic Junod
db5986fcc1
Use describe instead of describe.only
2013-11-05 09:50:19 +01:00
Glenn Vorhes
0fc727f989
Remove declared iteration variables before for-loop
2013-11-04 22:31:04 -06:00
Tim Schaub
333ca47a19
Merge pull request #1227 from tschaub/interactions-option
...
Interactions option not respected.
2013-11-04 16:38:58 -08:00
Tim Schaub
dcf510fe48
The code generated from objectliterals.jsdoc requires name on same line
...
Without this change, the `interactions` property is renamed on map options (see #1210 ).
2013-11-04 17:17:43 -07:00
Tim Schaub
e207e80257
Merge pull request #1226 from tschaub/dirty-buffer
...
Buffer dirty extent when rendering,
2013-11-04 14:28:46 -08:00
ahocevar
32bf851957
Merge pull request #1225 from ahocevar/closest-on-segment
...
squaredDistanceToSegment and footOfPerpendicularToSegment
2013-11-04 13:43:42 -08:00
ahocevar
f317016505
Add tests
2013-11-04 22:14:34 +01:00
Tim Schaub
b355c1f412
When expiring tiles, consider max symbol size
...
When an extent is invalidated, we have to expire tiles outside of that extent to account for symbolizer size.
2013-11-04 13:21:23 -07:00
Tim Schaub
b0cea7139b
Function to buffer an extent
2013-11-04 13:21:11 -07:00