Hey,

I'm interested in switching the default OpenLayers from MetaCarta to something else, like OpenStreetMap. Reasons are:

  1. The MetaCarta preset uses 4326 as its projection, which is, way way way, not the standard for web maps. With the exception of some static old-school maps and a few WMS maps, it stands alone in its equiretangularity.
  2. The MetaCarta preset is ugly as hell. Anti-aliasing apparently is not everywhere.
  3. The MetaCarta preset doesn't have roads - zooming in just gets you big spaces of grey

There is one advantage of the MetaCarta preset:

  1. It has simple licensing; everyone assumes it's public domain. This might not be true, because it's probably using OSM coastlines

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

zzolo’s picture

Tom,

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

zzolo’s picture

http://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?

tmcw’s picture

Status: Active » Fixed

Yeah, 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.

tmcw’s picture

Status: Fixed » Closed (fixed)