[OSM-dev] pointing to maps
Mohamad Ali
Mohamad.ali at intellitrac.com.au
Wed May 6 06:51:53 BST 2009
I will reply to myself
Yeah , it's correct
From: dev-bounces at openstreetmap.org [mailto:dev-bounces at openstreetmap.org]
On Behalf Of Mohamad Ali
Sent: Wednesday, May 06, 2009 2:55 PM
To: dev at openstreetmap.org
Subject: [OSM-dev] pointing to maps
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
__________ NOD32 4054 (20090505) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090506/295fd53c/attachment.html>
More information about the dev
mailing list