Commit Graph

13369 Commits

Author SHA1 Message Date
Frederic Junod
2f50fcc56c Better ol.Geolocation documentation 2014-02-27 09:25:50 +01:00
Frederic Junod
431ef6ef07 Add newline in quick start doc 2014-02-27 09:23:23 +01:00
Frederic Junod
2f73816916 Fix path to ol.css 2014-02-27 09:23:00 +01:00
ahocevar
3544f70604 Explicit box model definition for box model dependent sizing
The zoom in/out tooltips are clipped when a css reset sets the
box-sizing to anything other than content-box. This breaks the
sizing of these tooltips, because they rely on content-box
sizing. This issue can e.g. be seen when using a bootstrap 3.x
bootstrap.css
2014-02-26 19:22:24 +01:00
ahocevar
f9a9f70a43 Merge pull request #1770 from ahocevar/export-circle
Export #drawCircleGeometry()
2014-02-26 18:36:46 +01:00
Tom Payne
8a8de9d3cc Merge pull request #1769 from twpayne/clean-ups
Trivial clean-ups
2014-02-26 18:27:35 +01:00
Antoine Abt
c915e1209a Merge pull request #1761 from tonio/chrome_buttons
Fix button tips not disappearing on Chrome
2014-02-26 18:24:29 +01:00
ahocevar
bd22ebca45 Export #drawCircleGeometry()
Especially with the immediate API, it is convenient to be able
to draw cirlces.
2014-02-26 18:22:44 +01:00
Tom Payne
1a81227aef Remove trailing whitespace 2014-02-26 17:58:43 +01:00
Tom Payne
c5f7d08694 Remove stray comma 2014-02-26 17:56:22 +01:00
Tom Payne
7bbef0f0ea Read Icon hrefs as URIs 2014-02-26 17:37:49 +01:00
Tom Payne
b3c527166d Be more tolerant of out-of-spec KML files 2014-02-26 17:37:49 +01:00
Tom Payne
42c832154b Refactor KML style handling to handle shared Styles and StyleMaps 2014-02-26 17:37:49 +01:00
Frédéric Junod
74dd99485a Merge pull request #1751 from elemoine/vectorlayer
Fix type error in ol.layer.Vector
2014-02-26 17:24:04 +01:00
Éric Lemoine
e43a8d116e Fix type error in ol.layer.Layer 2014-02-26 16:44:52 +01:00
Frederic Junod
69749dee55 Fix type error in ol.layer.Vector 2014-02-26 16:39:21 +01:00
Tom Payne
0daa2b1781 Merge pull request #1757 from twpayne/interim-tiles-on-error
Add option to use interim tiles on tile errors
2014-02-26 16:36:52 +01:00
Tom Payne
d42a262814 Add out-of-order shared Style and StyleMap test 2014-02-26 16:08:01 +01:00
Tom Payne
e3980078d9 Merge pull request #1764 from bentrm/win-build
Updated build script to run target integration-test in Win
2014-02-26 13:22:04 +01:00
Benjamin Thurm
cb8d9d9b68 Update Win build defaults with min fallbacks 2014-02-26 11:42:34 +01:00
Antoine Abt
d53fa8f45a Fix chrome not to blur on mouseout/focusout
may be related to https://code.google.com/p/chromium/issues/detail?id=321264 ?
2014-02-26 11:24:54 +01:00
Antoine Abt
7426da61ea Make ZoomToExtent listen on button click
& not its container
2014-02-26 11:15:03 +01:00
Benjamin Thurm
1253765c89 Remove unused import and variable 2014-02-26 10:28:09 +01:00
Benjamin Thurm
a19e992a5b Run files via shell commands for Win compatibility 2014-02-26 09:53:56 +01:00
Tim Schaub
af1bd0228c Function for applying a 2d transform to an extent 2014-02-25 22:07:16 -07:00
Tim Schaub
2750f53fda Clip to max extent 2014-02-25 21:47:57 -07:00
Tim Schaub
50822a4d58 Skip coordinates that don't affect the rendered extent
Segments that intersect the replay group's extent are drawn.  Any segment that represents a change in coordinate-extent relationship is drawn.  This maintains the left/right relationship (or cross product) between points in the rendered extent and every rendered segment.

Still left undone: clip the replay group's rendering to the max extent.
2014-02-25 21:47:57 -07:00
Tim Schaub
6b018bbaf9 Testing segment intersection with extent
If needed, this function can be modified to take two additional coorinates that will be set to the intersection points.
2014-02-25 21:47:57 -07:00
Tim Schaub
cb11959f01 Determining coordinate relationship to extent 2014-02-25 21:47:57 -07:00
Tim Schaub
f4746687e8 Keep track of max extent for replay 2014-02-25 21:47:57 -07:00
Tim Schaub
ee2485534a Add an example that renders a simple fractal
This works at resolutions where simplification is significantly reducing the number of points in the line.  At high resolutions, navigation becomes unresponsive.  Limiting draw instructions to a replay group's extent will fix this.
2014-02-25 21:47:56 -07:00
Tim Schaub
667f4278b3 Merge pull request #1748 from tschaub/roughly
Fix test failures on Chrome 33.  The trig functions in V8 have changed, and are may change again (see https://code.google.com/p/v8/issues/detail?id=3006 for the full story).  As a result, we no longer rely on Vincenty for antipodal distance calculations (not recommended anyway), and we use a very low precision match for testing cosine distance on a sphere.
2014-02-25 15:39:31 -07:00
Tom Payne
69addbca87 Merge pull request #1749 from twpayne/windows-newlines
Generate proper line endings on Windows
2014-02-25 22:26:54 +01:00
Tom Payne
face69cda9 Remove reference to stale build/src/external/src/types.js target 2014-02-25 22:16:45 +01:00
Tom Payne
d0c83c74d2 Update to the latest version of pake 2014-02-25 22:02:35 +01:00
Bart van den Eijnden
a78b25cdca Merge pull request #1760 from bartvde/gmlfix2
Get rid of unneccessary if else statements in the GML format (r=@ahocevar)
2014-02-25 20:14:13 +01:00
Bart van den Eijnden
a2c01b1090 Get rid of unneccessary if else statements in the GML format 2014-02-25 19:58:15 +01:00
Bart van den Eijnden
c945768e0e Merge pull request #1752 from bartvde/gml-rewrite
Add format for reading GML v3 (r=@ahocevar)
2014-02-25 19:30:56 +01:00
Bart van den Eijnden
28b12e1b28 Remove unused ol.format.GML.NAMESPACE_URIS_ 2014-02-25 19:13:20 +01:00
Bart van den Eijnden
272a3762d6 Make sure function naming convention is consistent 2014-02-25 18:53:30 +01:00
Bart van den Eijnden
182eba5890 Use goog.isDef where possible 2014-02-25 17:41:14 +01:00
Bart van den Eijnden
7d02c4a371 Handle undefined value at readGeometryFromNode instead 2014-02-25 17:28:36 +01:00
Bart van den Eijnden
46a6f96032 Handle that ol.xml.pushParseAndPop can return undefined 2014-02-25 17:25:14 +01:00
Bart van den Eijnden
8d623d765a Do not create parsers in wfs namespace if not needed 2014-02-25 17:11:24 +01:00
Bart van den Eijnden
6256bf1989 Add feature id (fid) parsing 2014-02-25 16:28:10 +01:00
Bart van den Eijnden
98368a554d Use ol.xml.pushParseAndPop instead 2014-02-25 14:58:16 +01:00
Tom Payne
63e5ec9020 Merge pull request #1756 from twpayne/clean-up-preload
Move preload default value to where it is used
2014-02-25 14:51:22 +01:00
Bart van den Eijnden
346aa730e5 Merge pull request #5 from ahocevar/gml-context
Always use a context for GML parsing
2014-02-25 14:48:10 +01:00
ahocevar
71e1dc9f45 Always use a context for GML parsing
The context is at the bottom of the object stack. All entry
points to parsing (#readGeometryFromNode(),
#readFeaturesFromNode()) set up the context now, and parsers
always access the context at index 0 of the objectStack.
2014-02-25 14:33:20 +01:00
Bart van den Eijnden
679b152852 Add srsName info at index 0 in the stack 2014-02-25 13:58:19 +01:00