Tim Schaub
c0bff1c3ff
Use protocol-relative URL for Bing metadata.
...
The [URI standard](http://tools.ietf.org/html/rfc3986#section-4.2 ) allows for URI without a scheme. Where http is used to load the app, using a schemeless URL for the Bing metadata loads a script using http - and the same goes for https.
2012-10-03 21:44:48 -06:00
Éric Lemoine
985233c2dd
Merge branch '2.12'
2012-05-16 21:05:47 +02:00
Éric Lemoine
62bd06f465
use Util.indexOf in Layer.Bing, for compatibility with IE < 9
2012-05-16 08:24:55 +02:00
Éric Lemoine
a57738e817
Merge branch '2.12'
2012-04-20 15:29:46 +02:00
ahocevar
9ab6d08fb0
Calculate zoom level from serverResolutions.
...
The previous way of hard-coding an offset of 1 causes an incorrect attribution for layers with a custom maxResolution.
2012-04-20 15:08:45 +02:00
ahocevar
551f509b49
Make sure tiles are loaded for Bing overlays.
...
Previously, Bing overlays that were added to an existing map had empty tiles, because tiles are added before the layer url is set in initLayer. This change makes sure tiles are only rendered when the layer url is available, by not processing the tile queue before the layer url is set.
2012-04-19 16:02:23 +02:00
Bart van den Eijnden
59cc18d85b
fix Bing attribution issue reported by PitneyBowes
2012-04-10 14:31:20 +02:00
Éric Lemoine
e0b93c2e45
The OpenLayers code is published under the 2-clause BSD license
2012-03-30 08:33:55 +02:00
Éric Lemoine
650df2a8f1
change copyright header in every OpenLayers js file
2012-03-29 22:14:56 +02:00
ahocevar
094bedda9a
If maxResolution is not set, we want the serverResolution.
...
After 2fe882f4d8 , no default maxResolution is set. To make the Math.min not return 0, we need a fallback if no maxResolution was configured.
2012-02-24 16:04:07 +01:00
ahocevar
fe8a00d5c9
Support the culture attribute in the Bing Layer.
...
p=dcabasson, r=me (closes http://trac.osgeo.org/openlayers/ticket/3598 )
2012-02-14 17:23:01 +01:00
ahocevar
68a6c62f0b
Documenting tileOptions defaults.
2012-02-10 18:03:22 +01:00
ahocevar
342d624616
New crossOriginKeyword property.
...
Set to 'anonymous' for Layer.OSM and Layer.Bing, and not used by default for other layers.
2012-02-10 12:50:13 +01:00
Bart van den Eijnden
e68acfe91a
fix up Layer.Bing tests, fix has been discussed with @ahocevar ( closes #163 )
2012-01-19 20:05:44 +01:00
tschaub
6134ad6d91
Removing redundant dependency.
...
Projection.js gets pulled in as a transitive dependency of all layers.
2012-01-17 12:34:40 -07:00
Tim Schaub
32e870bebb
Remove SphericalMercator dependency from Bing.
2012-01-16 22:59:23 -07:00
Xavier Mamano
f4a6d4c7b2
Set key as property in Bing.js and many links as {<...>}
2012-01-09 00:30:53 +01:00
Xavier Mamano
b7dee9ca6d
Some problems in the documentation detected using "closure_verify"
2012-01-07 19:29:41 +01:00
tschaub
b844a3b11b
Happy New Year!
...
Updating copyright to 2012.
2012-01-03 09:01:10 -07:00
ahocevar
f79520cf9d
Don't set zoomOffset - maxResolution and numZoomLevels is enough. r=fredj (closes http://trac.osgeo.org/openlayers/ticket/3550 )
2011-12-07 14:53:53 +01:00
ahocevar
23c9092201
Tile.Image improvements and partial rewrite. Thanks erilem for the excellent collaboration during the review phase. p=me,erilem r=erilem ( closes #3419 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12241 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-13 00:59:01 +00:00
ahocevar
336f82b771
don't fire changelayer events without a property, and do a more solid changelayer event check before changing the layer zIndex. r=tschaub ( closes #3377 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12121 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-22 06:04:10 +00:00
ahocevar
a9d3b8b72e
removing the restrictedMinZoom property, and allow for restricting zoom levels with maxResolution and numZoomLevels. Thanks tschaub for the doc, test and examples improvements. r=tschaub (see #3338 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12106 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-18 19:25:46 +00:00
Tim Schaub
f9c0a1d302
Requires fix.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12079 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-10 16:32:58 +00:00
ahocevar
09d45b925b
adding missing @requires
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12077 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-10 03:25:33 +00:00
ahocevar
0c943fb5e0
adding note about attribution
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11999 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-05-23 21:27:54 +00:00
Tim Schaub
d332ac2ef6
Correcting markup in attribution template for Bing layer. p=manchito r=me ( closes #3260 ).
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11889 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-04-14 15:00:12 +00:00
Frédéric Junod
7a1cb00fe4
Add missing semicolon. Non functional change.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11185 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-02-21 14:55:01 +00:00
ahocevar
b434c02e1d
using new restricedMinZoom property to make Layer.Bing code much cleaner. r=bartvde ( closes #3025 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11059 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-01-24 21:45:44 +00:00
ahocevar
4a9460b314
give layer an "added" and "removed" event. p=mpriour,me r=me ( closes #2983 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11052 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-01-22 12:04:40 +00:00
ahocevar
3515d23ce7
made metadata api parameters configurable. p="Jeff Maki",me r=me ( closes #3013 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11032 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-01-14 13:28:45 +00:00
ahocevar
d0ab1fd219
fix Bing layer's zoom level management. r=tschaub ( closes #2987 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10997 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-01-03 18:18:43 +00:00
Tim Schaub
ad54169479
Happy New Year.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10995 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-01-03 15:39:40 +00:00
ahocevar
1b9996d62c
Added Bing layer with direct tile access. p=me,tschaub r=tschaub,me ( closes #2975 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10975 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-12-17 23:46:22 +00:00