Commit Graph

1940 Commits

Author SHA1 Message Date
Tom Payne
c48e281c68 Add ol.Map.removeLayer 2013-03-06 17:17:32 +01:00
Tom Payne
fcbd758f48 Add ol.Map.addLayer 2013-03-06 17:00:17 +01:00
Tom Payne
61982646ba Allow layers to be passed as an array when creating a map 2013-03-06 16:59:09 +01:00
Tom Payne
3e7c913c44 Add ol.Collection.remove 2013-03-06 15:53:11 +01:00
Tom Payne
0a38f2f7a7 Don't export ol.Collection.getArray 2013-03-06 15:50:07 +01:00
Tom Payne
905a0059db Remove unused insert_at, set_at, and remove_at events 2013-03-06 15:50:03 +01:00
Tom Payne
3a7c4bd3bc Merge pull request #273 from twpayne/controls-api
reconsider the way we specify controls on the map
2013-03-06 05:59:31 -08:00
Tom Payne
38eaa9cfb2 Use an array to specify additional interactions 2013-03-06 13:19:50 +01:00
Tom Payne
363cb87e1a Use an array to specify additional controls 2013-03-06 13:19:34 +01:00
Tom Payne
23f0097517 Add ol.Collection.extend 2013-03-06 13:18:34 +01:00
Frédéric Junod
c54f38f4c0 Merge pull request #287 from fredj/mapsize
Use goog.style.getSize to compute the map size.
2013-03-06 03:59:51 -08:00
ahocevar
2147674e2f Adding exports for icon and feature 2013-03-06 12:49:06 +01:00
Tom Payne
671ee79c74 Add ol.interaction.defaults 2013-03-06 12:36:49 +01:00
Tom Payne
8ae009d401 Add ol.control.defaults 2013-03-06 12:36:48 +01:00
ahocevar
345bb55f98 Respect width and height from symbolizer 2013-03-06 12:29:20 +01:00
Bruno Binet
1ff3c79ff6 Use correct value to convert from foot to meters
(was using value for converting to inches).
Thanks @twpayne
2013-03-06 12:26:30 +01:00
Bruno Binet
f4aa08ee90 Use ol.sphere.NORMAL.radius instead of 6378000
to be consistent.
2013-03-06 12:18:37 +01:00
Tom Payne
48852aa3ea Merge pull request #284 from twpayne/full-screen-fit-projection-extent
Fit map to projection extent in full screen example
2013-03-06 02:50:46 -08:00
ahocevar
6ee754abb6 Merge branch 'master' of github.com:openlayers/ol3 into vector 2013-03-06 11:20:40 +01:00
Bruno Binet
1803e7b28d Add getMetersPerUnit instance method to ol.Projection 2013-03-06 10:32:45 +01:00
Tim Schaub
060edb2070 Merge branch 'vector' of github.com:openlayers/ol3 into vector
Conflicts:
	src/ol/style/shape.js
2013-03-06 02:28:33 +01:00
Tim Schaub
ac10bb6ca5 Enforce that either stroke or fill is provided 2013-03-06 02:20:11 +01:00
Tim Schaub
c0c8faaf9f Allow literal from symbolizer without feature 2013-03-06 02:20:11 +01:00
Éric Lemoine
5d99ead2b7 View2D NoConstraint methods renamed 2013-03-06 02:20:10 +01:00
Bruno Binet
382022bdb5 Add defaultNamespaceURI and errorProperty properties for WMTS.
Thanks @bartvde.
2013-03-06 02:20:10 +01:00
ahocevar
c1f3a6cc54 WMS GetMap request parameters shall be params
To avoid surprises, we configure everything that is a WMS GetMap
request parameter in the params object, and not as direct
configuration option. This affects the VERSION and TRANSPARENT
params.
2013-03-06 02:20:09 +01:00
ahocevar
a912d48b59 Do not use tiledWMSOptions in closure function
See #269.
2013-03-06 02:20:09 +01:00
Éric Lemoine
5644c27d9e Animate double click/tap zoom 2013-03-06 02:20:09 +01:00
Éric Lemoine
066a81a88a Animate zoom after pinch 2013-03-06 02:20:09 +01:00
Éric Lemoine
a4c47edd9d 2DView refactoring
This refactoring makes animating zoom, as opposed to zoomByDelta, possible.
2013-03-06 02:20:09 +01:00
Éric Lemoine
b9a286fb7a Animate rotation when releasing mouse or fingers 2013-03-06 02:20:08 +01:00
Éric Lemoine
33eb13d73b Make animating rotation possible 2013-03-06 02:20:08 +01:00
Éric Lemoine
de8db176ab Do not apply rotation constraint while rotating
This is on par to what the TouchRotate interaction does.
2013-03-06 02:20:08 +01:00
Éric Lemoine
f20cf83c94 Add a snapToZero rotation constraint 2013-03-06 02:20:08 +01:00
Tom Payne
78780fa095 Correct Stamen source 2013-03-06 02:20:07 +01:00
Éric Lemoine
cae2340343 Make TouchRotate interaction use rotateNoConstraint 2013-03-06 02:20:07 +01:00
Éric Lemoine
303520a5e0 Add a rotateNoConstraint View2D method 2013-03-06 02:20:06 +01:00
Éric Lemoine
2c551b0445 Change View2D function names
Also make the TouchZoom interaction no longer use a private View2D function.
2013-03-06 02:20:06 +01:00
Éric Lemoine
ca31cf590c Debounce mousewheel zoom events 2013-03-06 02:20:06 +01:00
Éric Lemoine
673ea079f8 MouseWheelZoom interaction animates zoom 2013-03-06 02:20:06 +01:00
Éric Lemoine
be5967a948 View2D zoom may animate pan 2013-03-06 02:20:06 +01:00
Éric Lemoine
29d3878ea3 zoomFactor defaults to 2 2013-03-06 02:20:06 +01:00
ahocevar
ab19d255c7 Rendering icons from external graphic urls 2013-03-06 01:57:08 +01:00
Bruno Binet
7d1db48836 Find proj4js projection even if code is different than srs. 2013-03-06 01:57:06 +01:00
Tom Payne
1ae20641ef Make mouse position control options argument optional 2013-03-05 18:58:29 +01:00
Tom Payne
f581390655 Make zoom control options argument optional 2013-03-05 18:56:41 +01:00
Tom Payne
c521f92408 Make attribution control options argument optional 2013-03-05 18:56:34 +01:00
Frederic Junod
de168e0fb0 Use goog.style.getSize to compute the map size.
This allows to initialize hidden map (display: none).
Otherwise the size is 0 (clientWidth == clientHeight == 0)
2013-03-05 18:48:02 +01:00
Éric Lemoine
59271ae2d8 Fix typo (thanks @bbinet) 2013-03-05 18:35:21 +01:00
Tim Schaub
4f2523fcf2 Vector related exports 2013-03-05 18:25:07 +01:00