[OSM-dev] contribution and usage of maps
Simone Cortesi
simone at cortesi.com
Wed Apr 22 08:13:08 BST 2009
On Wed, Apr 22, 2009 at 4:48 AM, Mohamad Ali
<Mohamad.ali at intellitrac.com.au> wrote:
> Please correct me if I am wrong :
> What you mean is this: we can use openlayer.js for our own server
> We include openlayer.js on our website and
> We just need to point the openlayer.js to our server url?
look at the source code here:
http://openlayers.org/dev/examples/sundials-spherical-mercator.html
change:
var mapnik = new OpenLayers.Layer.TMS(
"OpenStreetMap (Mapnik)",
"http://tile.openstreetmap.org/",
with the hostname of your web.
More information about the dev
mailing list