[OSM-dev] pointing to maps
Mohamad Ali
Mohamad.ali at intellitrac.com.au
Wed May 6 05:54:41 BST 2009
Hi Guys,
I finally succeeded to produce images following the tutorial
<http://www.weait.com/content/build-your-own-openstreetmap-server>
www.weait.com/content/build-your-own-openstreetmap-server, and part 2 of it
When I get file tiles , I copied it as is to var/www folder used for web
pages,
Then I edit that example :
http://openlayers.org/dev/examples/sundials-spherical-mercator.html
changing the http
var mapnik = new OpenLayers.Layer.TMS(
"OpenStreetMap (Mapnik)",
"http://192.168.1.79/tiles/",
{
type: 'png', getURL: osm_getTileURL,
displayOutsideMaxExtent: true,
attribution: '<a
href="http://www.openstreetmap.org/">OpenStreetMap</a>'
}
);
And I get the zoom level zero of the world on the web page
Is that correct??
Thanks guys for all your help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090506/fc4014ac/attachment.html>
More information about the dev
mailing list