[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
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


Then I edit that example : 



changing the http 

var mapnik = new OpenLayers.Layer.TMS(

                "OpenStreetMap (Mapnik)",



                    type: 'png', getURL: osm_getTileURL,

                    displayOutsideMaxExtent: true,

                    attribution: '<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.

-------------- 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