[OSM-dev] Faster Commercial Layers

Christopher Schmidt crschmidt at metacarta.com
Wed Nov 21 13:37:01 GMT 2007


On Wed, Nov 21, 2007 at 09:09:39AM +0000, Andy Robinson wrote:
> The thing I notice most when something like this gets promoted is the
> obvious lack of an OSM logo to go with the OSM tiles. How do the other
> API's provide this and can we do it too?

What OSM should do is provide an OpenLayers 'Layer' class, hosted on
OSM's server. This layer would have the 'attribution' on the layer set:
attribution can be moved around the map by the user, and looks like:
http://openlayers.org/dev/examples/attribution.html , but can have any
amount of HTML in it. This would allow OSM to put an <img> tag in the
attribution on the Layer, and all someone would have to do to use OSM in
OL would be:

1. Include main OL script.
2. Inclue OSM Layer via <script src>
3. new OpenLayers.Layer.OSM.TAH or new OpenLayers.Layer.OSM.Mapnik

This would also let OSM decide which tile servers to include in lists,
stuff like that, so that users don't have to worry about setting any of
it up, or setting up the 'osm_get_url' stuff that users have to know
about now.

I've updated the spherical-mercator example to include attribution with
just a link: anything more complex will need to come from OSM users
instead of me :)

And again, sorry I sent to the wrong list.

Regards,
-- 
Christopher Schmidt
MetaCarta




More information about the dev mailing list