Closed (fixed)
Project:
Openlayers
Version:
6.x-2.x-dev
Component:
OpenLayers Layers
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Nov 2009 at 22:23 UTC
Updated:
29 Jan 2010 at 17:30 UTC
Hey,
I'm interested in switching the default OpenLayers from MetaCarta to something else, like OpenStreetMap. Reasons are:
There is one advantage of the MetaCarta preset:
And yes, it's easy to say that you can easily switch to a different preset, but how easily? And why have the default be bad? I'm afraid that end-users will assume that the ugly duckling MetaCarta map is OpenLayers, not the OpenLayers interface itself, and therefore we lose users to gmap*.
Ideas? This is a rather large change, I won't do it unilaterally.
Comments
Comment #1
zzolo commentedTom,
You make valid arguments and I think its a good idea. I am curious why this would be a bad idea? The licensing?
I think it became our default because OpenLayers pretty much makes it the standard example, and it is simple to implement, but in reality, I don't think there is any real reason to keep the MetaCarta as the default.
--
Alan
Comment #2
zzolo commentedhttp://drupal.org/cvs?commit=310868
I have changed the default map to use an OSM layer. I am using the XYZ Layer object, as opposed to the OSM Layer object, since it requires another JS library. Not sure if this is the best way to do.
I also had to spend a while debugging the layer process. Things should be working more smoothly. I also standardized the layer class and type naming.
It would be nice to have someone look at the default layer and see if it makes sense. Do we need some sort of attribution for OSM data?
Comment #3
tmcw commentedYeah, we should have added attribution a while ago, I think it just skipped my mind. Anyway, attribution added to all OpenStreetMap layers in 2.x, committed, and I think this task is done.
Comment #4
tmcw commented