Tom Payne
0caf5efef6
Configure logo for MapQuest sources
2013-04-05 18:27:45 +02:00
Tom Payne
5b2cbe76f2
Configure logo for Bing Maps source
2013-04-05 18:12:45 +02:00
Tom Payne
a876332f0e
Add logo option to ol.source.Source subclasses
2013-04-05 18:12:12 +02:00
Tom Payne
6c90bcc5cd
Add logo option to ol.source.Source
2013-04-05 18:11:22 +02:00
Marc Jansen
523506ef86
Rename *.exports to match their *.js counterparts.
2013-04-04 07:40:16 +02:00
Éric Lemoine
e128bab625
Do not pass tile grid to getTile and tileUrlFunc
...
getTile and the tileUrlFunc are functions of the source, so they do need to be passed the tile grid. The tile source knows its tile grid, and can get the projection's tile grid if it doesn't have a tile grid.
2013-04-02 11:12:43 +02:00
Éric Lemoine
de1575e457
One direction pinch zoom
2013-03-27 11:52:42 +01:00
Tom Payne
6cfe918501
Merge pull request #428 from twpayne/gc-optimizations
...
GC optimizations
2013-03-25 03:54:15 -07:00
Tom Payne
9906c518a7
Rename useTileZXY to useTile
2013-03-25 11:45:20 +01:00
Frederic Junod
415e7a6dd4
Rename TileJSONOptions.uri to TileJSONOptions.url
2013-03-25 10:17:37 +01:00
Tom Payne
65e6ed3485
Rename getTileZXY to getTile
2013-03-25 10:10:03 +01:00
Tom Payne
e62178759c
Fix use of this in ol.source.BingMaps
2013-03-24 19:26:34 +01:00
Tom Payne
dfb631a08f
Replace getTile with getTileZXY
...
This massively reduces the number of temporary ol.TileCoord objects.
Previously an ol.TileCoord object was generated for every potentially
visible tile at the current zoom level and lower, every frame. This
commit eliminates all of those. Now new ol.TileCoord objects are only
allocated when a new tile is created.
2013-03-24 15:24:49 +01:00
Tom Payne
e3abe376f1
Remove ol.source.TileSource.useLowResolutionTiles
2013-03-22 21:02:06 +01: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
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
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
É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
Cédric Moullet
8532bc5a4d
Make ratio configurable in WMS single image
2013-03-14 14:29:51 +01:00
Bruno Binet
9b1c389c80
Remove unused goog.require directives
2013-03-14 11:39:43 +01:00
Bruno Binet
317676a68f
Homogenize wmts tileUrlFunction relative to other sources
2013-03-13 16:52:54 +01:00
Bruno Binet
5eaf4baaa4
Try to expand single url for TiledWMS source
2013-03-13 16:52:54 +01:00
Bruno Binet
875ead58ab
Remove expandUrl duplicated code from createFromTemplate
...
and make use of expandUrl function instead.
2013-03-13 16:52:54 +01:00
Bruno Binet
54dfca3419
Move factorizable code in ol.TileUrlFunction.expandUrl
2013-03-13 16:48:22 +01:00
Bruno Binet
86c05b4d21
Be more consistent with useTile abstract method
2013-03-12 17:58:29 +01:00
ahocevar
fad036aa53
Merge branch 'master' of github.com:openlayers/ol3 into vector
...
Conflicts:
src/objectliterals.exports
2013-03-12 08:39:16 +01:00
Bruno Binet
837aa7512b
Merge pull request #342 from bbinet/wmts
...
Add WMTS support.
2013-03-11 08:05:25 -07:00
ahocevar
a66f26f839
Merge branch 'master' of github.com:openlayers/ol3 into vector
2013-03-11 15:21:01 +01:00
Tom Payne
58f1c929ac
Merge pull request #324 from twpayne/fix-canvas-renderer-clear
...
Canvas renderer is not properly cleared
2013-03-11 05:08:54 -07:00
Bruno Binet
9e370bf6af
Implement ol.source.WMTS.optionsFromCapabilities
...
and remove related ol.source.WMTS.createFromCapabilities function.
2013-03-11 12:42:14 +01:00
Bruno Binet
c67e67ee12
Single tileUrlFunction in createFromTileUrlFunctions
...
In that case, simply return the single tileUrlFunction.
2013-03-11 11:29:40 +01:00
Bruno Binet
13d0b36a08
Add a ol.source.WMTS.createFromCapabilities function
...
so that we can create a wmts source directly from a getCapabilities response
(parsed by the wmts parser)
2013-03-11 10:42:37 +01:00
Bruno Binet
877ce3adcf
Add a WMTS source
2013-03-11 10:42:37 +01:00
Éric Lemoine
56f86ae512
Fix SingleImageWMS exports/externs
2013-03-11 08:31:32 +01:00
Éric Lemoine
cee2725afd
Fix Stamen exports/externs
2013-03-11 08:31:32 +01:00
Éric Lemoine
0459733883
Fix StaticImage exports/externs
2013-03-11 08:31:32 +01:00
Éric Lemoine
f1949191b1
Fix TiledWMS exports/externs
2013-03-11 08:31:31 +01:00
Éric Lemoine
8121fda6fb
Fix TileJSON exports/externs
2013-03-11 08:31:03 +01:00
Éric Lemoine
5ad6ca3aa1
Fix BingMaps exports/externs
2013-03-11 08:31:03 +01:00
Tom Payne
b729f969a7
Add EMPTY tile state instead of using null for empty tiles
2013-03-08 14:41:14 +01:00
Tim Schaub
4422e3e73b
Merge branch 'master' of github.com:openlayers/ol3 into vector
2013-03-07 23:10:06 -07:00
Tom Payne
1deeaa437c
Merge pull request #272 from twpayne/projection-get
...
allow people to specify projection as a string
2013-03-07 04:59:00 -08:00
Tom Payne
21d34f1cc8
Rename projection functions for a friendlier API
...
The following functions are renamed:
getTransform -> getTransformForProjections
getTransformFromCodes -> getTransform
transform -> transformWithProjections
transformWithCodes -> transform
With this change, the faster functions that avoid projection look-up
have longer names and are used internally, whereas the slower but
friendlier short name functions are available for users.
2013-03-07 13:39:40 +01:00
Éric Lemoine
b487275d5b
Round image height and width for WMS
2013-03-07 13:37:48 +01:00
Tom Payne
eaa17758bd
Allow strings to be used wherever projections are needed
2013-03-07 13:29:40 +01:00
Tom Payne
afcbec469a
Rename ol.projection.getFromCode to ol.projection.get
2013-03-07 13:29:39 +01:00
Bruno Binet
41408c0909
Extent cannot be undefined here but it can be null
...
so we now use !goog.isNull(extent) instead of goog.isDef(extent)
2013-03-07 10:54:06 +01:00
Bruno Binet
48c84aaf69
Do not wrap dateline if projection.isGlobal() is false
2013-03-07 02:07:00 +01:00