Tom Payne
f770be297d
Use ol.math.roundUpToPowerOfTwo
2013-03-22 17:25:36 +01:00
Tom Payne
57abbddf50
Add ol.math.roundUpToPowerOfTwo
2013-03-22 17:25:31 +01:00
Tom Payne
6c32170a08
Promote texture and framebuffer management into base class
2013-03-22 17:25:27 +01:00
Tom Payne
657f58005e
Remove unused function
2013-03-22 17:24:26 +01:00
Tom Payne
69f92615b1
Add missing variable declaration
2013-03-22 17:24:03 +01:00
Tom Payne
c04e9c8870
Add ol.Rectangle.extendXY
2013-03-22 17:23:58 +01:00
Tom Payne
483375ca42
Add ol.Extent.createEmptyExtent
2013-03-22 17:23:50 +01:00
Tom Payne
5186fa44f5
Add ol.Rectangle.isEmpty
2013-03-22 17:23:44 +01:00
Tom Payne
0488612449
Allow rectangles to be empty
2013-03-22 17:23:38 +01:00
Tom Payne
5192c5e64a
Reverse order of arguments to set and s/index/offset/
2013-03-22 17:23:30 +01:00
Tom Payne
713ad2cfb7
Replace unused entries with NaNs
2013-03-22 17:23:25 +01:00
Tom Payne
6ab5cfae8c
Add ol.structs.IntegerSet.toString
2013-03-22 17:23:15 +01:00
Tom Payne
9047e98889
Add initial ol.structs.Buffer
2013-03-22 17:23:08 +01:00
Tom Payne
1833ec15e2
Refactor ol.structs.IntegerSet to use a packed array
2013-03-22 17:23:03 +01:00
Tom Payne
070b80c28d
Add ol.structs.IntegerSet
2013-03-22 17:22:57 +01:00
Éric Lemoine
a12d10e912
Merge pull request #409 from elemoine/tilequeue
...
Tile renderers needn't listen for tile change
2013-03-22 09:17:46 -07:00
Tom Payne
8b5367c947
Use Infinity instead of Number.POSITIVE_INFINITY
2013-03-22 11:34:44 +01:00
Bruno Binet
3d87ecd858
Merge pull request #354 from bbinet/fix-wmts-from-cap-example
...
wmts-from-capabilities example doesn't work because of referer check
2013-03-22 01:51:46 -07:00
Jeff Williams
97879a3572
remove descriptions from JSDoc type tags
2013-03-21 09:54:52 -07:00
Bruno Binet
7fec1f5208
ArcGis use camelcase 'Style', not lowercase 'style'
...
The OGC documentation is not so clear if we should use style or Style.
2013-03-21 11:15:35 +01:00
Bruno Binet
932c284a2e
ArcGis use RESTful
...
The OGC documentation is not clear if we should use REST or RESTful.
2013-03-21 11:15:35 +01:00
Éric Lemoine
7949cdaa82
crossOrigin defaults to null
2013-03-21 10:37:31 +01:00
Éric Lemoine
1d575309da
Tile renderers needn't listen for tile change
2013-03-21 10:29:01 +01:00
Bruno Binet
7038ac0c81
Merge pull request #356 from bbinet/issue-356
...
Can't parse http://maps.wien.gv.at/wmts/1.0.0/WMTSCapabilities.xml
2013-03-21 02:10:56 -07:00
Frederic Junod
8296a1f134
Minor jsdoc fix
2013-03-21 09:19:23 +01:00
Bruno Binet
b0c4977811
Add exportSymbol for ol.projection.addCommonProjections
2013-03-20 14:39:14 +01:00
Bruno Binet
30a2b4187c
The same projection can be added more than once
...
So that addCommonProjections can be safely called in our examples.
2013-03-20 14:39:14 +01:00
Bruno Binet
e6450dc313
Add new equivalent projections
...
for both EPSG:4326 and EPSG:3857.
2013-03-20 14:39:14 +01:00
Bruno Binet
c1db1cd491
Use correct namespaceURI for WGS84BoundingBox reader
...
(closes #356 )
2013-03-20 14:39:14 +01:00
ahocevar
baa5500843
Merge pull request #402 from ahocevar/more-context
...
More convenient url functions for WMS. r=@elemoine,@twpayne
2013-03-20 06:22:36 -07:00
ahocevar
5719160155
Less context
...
This change removes all changes that were anticipated here for
WMS GetFeatureInfo handling, including the IWMS interface and
the goog.provide for 'ol.tilegrid'. I'll create a separate pull
request for WMS GetFeatureInfo eventually, taking into account
the suggestions from the discussion in #402 .
2013-03-20 13:41:36 +01:00
Tom Payne
7755555cc3
Use NaN as default value for Z
2013-03-20 12:02:40 +01:00
ahocevar
57fdd78a19
Fixing requires
2013-03-20 10:55:58 +01:00
ahocevar
46ca98e484
More context for url functions
...
With this change, url functions are called in the scope of the
source they are configured for. This allows us to simplify the
url function generation for WMS, using a more generic
createFromParamsFunction factory, and the source's new params
member.
Note that there is also a new url member for WMS sources. This
is the WMS base url (the first one in case there is an array of
urls for faster tile access). This can be used for accessing
other WMS services (especially GetFeatureInfo).
2013-03-20 10:45:54 +01:00
Tom Payne
d3ea5236ef
Optionally extend ol.Coordinate to the third dimension
...
We continue to inherit from goog.math.Vec2 instead of goog.math.Vec3
because goog.math.Vec2 better represents a position in space, with
appropriate functionality, whereas goog.math.Vec3 represents a direction
and magnitude.
2013-03-19 22:10:21 +01:00
Tim Schaub
825a6d65e8
Properly maintain dirty state during animation
...
The previous logic assumed that if there were any tiles to render, the dirty state should be false. The correct logic is to say that if we don't render during animation, dirty is true.
2013-03-19 07:27:59 -06:00
Tom Payne
6cc4cb33d0
Use more consistent directory structure
2013-03-19 12:03:31 +01:00
ahocevar
114d4c6f92
Merge pull request #388 from ahocevar/dblclick
...
Do not recenter map and zoom on repeated clicks on +/-. r=@elemoine
2013-03-18 11:03:26 -07:00
Frederic Junod
7ee9a4c8a3
Add ol.dom.Input
2013-03-18 16:24:31 +01:00
ahocevar
f765982654
Do not recenter map and zoom on repeated clicks on +/-
...
Multiple fast clicks get interpreted as DBLCLICK by the browser,
so it makes sense to stop propagation of DBLCLICK events when
they happen on elements on the overlay container. This is also
a good change because DBLCLICK might have a meaning on other map
overlays as well.
2013-03-18 09:19:10 +01:00
Éric Lemoine
40f2dc6322
Merge pull request #385 from elemoine/385
...
Rule-based styling does not work in hosted style-rules example
2013-03-17 22:23:15 -07:00
Éric Lemoine
0949cb29aa
Move expression.exports to proper place
2013-03-17 23:12:43 +01:00
Éric Lemoine
b7fa22c4d4
Add type VectorLayerOptions
2013-03-17 22:33:02 +01:00
Éric Lemoine
392735c823
Merge pull request #384 from elemoine/optional
...
Exports fixes
2013-03-15 14:26:05 -07:00
Éric Lemoine
6eaad6a837
Source option "projection" is a ProjectionLike
2013-03-15 17:58:54 +01:00
Éric Lemoine
f86dfc3212
Remove ol.source.SourceOptions typedef
...
The ol.source.SourceOptions type is already declared in objectliteral.exports, so it should not be declared in the ol/source/source.js file.
2013-03-15 17:56:14 +01:00
Marc Jansen
250e17561a
Use CSS class constant in zoomslider.
2013-03-15 10:02:12 +01:00
ahocevar
31e59d3a8b
Merge pull request #373 from ahocevar/origin
...
Fixing origin for default tile grid. r=@twpayne,@elemoine
2013-03-14 11:47:06 -07:00
ahocevar
e9d86fdfdc
Fixing origin for default tile grid
...
We count tiles from bottom to top, so we want the origin in the
bottom left corner, not the top left corner.
2013-03-14 18:27:18 +01:00
Frederic Junod
bce9e9d0de
Fix typecast
...
Fix JSC_MISPLACED_TYPE_ANNOTATION warnings with the plovr 2013 release
candidate (http://plovr.com/plovr-2013-rc.jar )
2013-03-14 15:59:21 +01:00