Commit Graph

12522 Commits

Author SHA1 Message Date
Éric Lemoine e0db06c39a Merge pull request #1648 from elemoine/1648
Vector examples are broken
2014-02-06 12:25:24 +01:00
Éric Lemoine 95bef8d7d2 Fix vector examples 2014-02-06 10:40:09 +01:00
ahocevar 43e42d959d Merge pull request #1647 from openlayers/style-
Create styles only once
2014-02-06 08:28:43 +01:00
Tim Schaub 629558971d Merge pull request #1646 from tschaub/example-index
Remove unused classes info.
2014-02-05 22:35:00 -07:00
ahocevar a4101d52cf Create styles only once 2014-02-06 05:47:34 +01:00
Tim Schaub 336ee808de The examples don't provide information on classes used 2014-02-05 20:17:50 -07:00
ahocevar ef200e8b03 Merge pull request #1421 from ahocevar/google-integration
Example for obtaining a Google base map
2014-02-05 20:14:28 +01:00
ahocevar 0fa60fc0c6 Updating example to use the new vector API 2014-02-05 18:55:55 +01:00
ahocevar 6aef5eed74 Example for obtaining a Google base map
By simply defining the ol3 map as control on a GMaps map, we can
have a Google base map with arbitrary ol3 content on top. This
works with all ol3 renderers.
2014-02-05 17:59:00 +01:00
Tom Payne 2b46c037d7 Merge pull request #1644 from twpayne/keyboard-interaction-docs
Fix capitalisation of ol.Map in docs
2014-02-05 17:50:10 +01:00
Tom Payne 3436c7e6f9 Fix capitalisation of ol.Map in docs 2014-02-05 17:12:35 +01:00
Éric Lemoine 40276ab6ba Merge pull request #1216 from probins/keyboard
Clarify keyboard events and focus in docs
2014-02-05 16:14:04 +01:00
Tom Payne 0b4b6e2a75 Merge pull request #1639 from twpayne/kml-ie9
KML support for Internet Explorer
2014-02-05 14:23:07 +01:00
Éric Lemoine 7fb2088a22 Merge pull request #1623 from elemoine/1623
ol.interaction.DragBox.getGeometry returns non-closed polygon
2014-02-04 22:10:11 -08:00
Tim Schaub c038c0cb06 Merge pull request #1640 from tschaub/reproject
Use projection option instead of reprojectTo for vector file sources.  The projection of the vector source represents the projection of the cached features.
2014-02-04 17:07:59 -08:00
Tom Payne 9495a8cec4 Merge pull request #1641 from htulipe/issue1585
Support parsing of kml:datetime
2014-02-04 14:01:45 -08:00
Hadrien Tulipe b5fefc9ab3 Supprt parsing of kml:datetime (#1585)
This commit modifies the previous regex used to match following
datetimes:

- 2014
- 2014-02
- 2014-02-15

The new regex also matches dates that were matched by the previous
regex.

This commit also include a unit test for kml:dateTime parsing.
2014-02-04 22:36:42 +01:00
Tom Payne 184118082e Add FIXME to remove afterLoadXml 2014-02-04 22:20:45 +01:00
Tom Payne a769bba65e Don't use getResponseXml() on IE 2014-02-04 22:20:45 +01:00
Tom Payne 7940a2fc64 Don't use problematic afterLoadXml function 2014-02-04 22:20:45 +01:00
Tom Payne 91e9b82fe1 Use ol.xml.getLocalName in ol.format.KML 2014-02-04 22:20:45 +01:00
Tom Payne 60fe8efca1 Add ol.xml.getLocalName 2014-02-04 22:20:43 +01:00
Tom Payne 17fba61bf2 Cope with undefined baseURI in ol.format.KML 2014-02-04 22:19:54 +01:00
Tom Payne cd1355a699 Use ol.xml.isNode in ol.format.KML 2014-02-04 22:19:54 +01:00
Tom Payne f22495871c Use ol.xml.isNode in ol.format.XML 2014-02-04 22:19:54 +01:00
Tom Payne d2b7ab697f Add ol.xml.isNode 2014-02-04 22:19:54 +01:00
Tom Payne cd7df92891 Use ol.xml.isDocument in ol.format.KML 2014-02-04 22:19:53 +01:00
Tom Payne 99aa9f207d Use ol.xml.isDocument in ol.format.XML 2014-02-04 22:19:53 +01:00
Tom Payne a5bb4632e5 Add ol.xml.isDocument 2014-02-04 22:19:51 +01:00
Tom Payne b63d0083f2 Use ol.xml.load in ol.source.VectorFile 2014-02-04 17:36:56 +01:00
Tom Payne 34e75e2653 Use ol.xml.load in ol.format.KML 2014-02-04 17:36:56 +01:00
Tom Payne 6f665c1280 Use ol.xml.load in ol.format.XML 2014-02-04 17:36:56 +01:00
Tom Payne 591a6cd9d2 Add ol.xml.load 2014-02-04 17:36:56 +01:00
Tom Payne 2b268e284e Fix closing tag in tests 2014-02-04 17:36:56 +01:00
Tom Payne 62114a73e2 Fix typo in tests 2014-02-04 17:36:56 +01:00
Éric Lemoine dd526b5581 Simplify code in ol.render.Box#createGeometry_ 2014-02-04 17:18:23 +01:00
Éric Lemoine 3c981da304 Close the polygon created by ol.render.Box 2014-02-04 17:18:23 +01:00
Éric Lemoine 2f004b1147 Merge pull request #1145 from elemoine/keyboard
Add a keyboardEventTarget option to the map
2014-02-04 07:06:22 -08:00
Éric Lemoine 0c99e0a2ff Change keyboardEventTarget doc as requested by @probins 2014-02-04 15:52:40 +01:00
Éric Lemoine a91e6e2442 Accept string for keyboardEventTarget option 2014-02-04 15:48:44 +01:00
Éric Lemoine cf5aada8cf Add a keyboardEventTarget option to the map
This option allows specifying the element to listen to keyboard events on.
2014-02-04 15:46:50 +01:00
Frédéric Junod c61e74f3dc Merge pull request #1637 from fredj/getfeatureinfo-example
Use evt.coordinate instead of evt.getCoordinate()
2014-02-04 06:46:07 -08:00
Tom Payne 016efd22d1 Merge pull request #1636 from twpayne/fix-text-bug
Fix typo in text rendering
2014-02-04 06:32:51 -08:00
Frederic Junod 0377df5e06 Use evt.coordinate instead of evt.getCoordinate() 2014-02-04 15:31:03 +01:00
BRANDLI Nicolas 447814e1a9 Fix typo in text rendering 2014-02-04 15:27:59 +01:00
Tom Payne ea65836edd Merge pull request #1633 from twpayne/no-fail-in-topojson
Don't fail when no featues are found in ol.format.TopoJSON
2014-02-04 04:39:42 -08:00
Tom Payne c5cf2ccd16 Merge pull request #1609 from twpayne/stricter-map-defined
Stricter map defined
2014-02-04 02:56:56 -08:00
Tom Payne 4beb48fa3d Assert that pixel is non-null when positioning overlay 2014-02-04 11:47:49 +01:00
Tom Payne 6455c920f6 Make ol.Map#isDef checking stricter 2014-02-04 11:47:49 +01:00
Tim Schaub d2cd0808a8 Use projection option instead of reprojectTo
The projection option for vector file sources currently has no good meaning.  The reprojectTo option is used to set the projection for cached features.  This change makes it so the projection option is used for this purpose.  The getProjection method (not currently exported) can then be used to get the cached feature projection.

This also removes the default of 'EPSG:3857' for vector file sources.  If a projection is not configured, features will not be transformed.
2014-02-03 18:13:25 -07:00