[OSM-talk] mapnik and openlayers?
szybalski at gmail.com
Wed Oct 22 15:36:29 BST 2008
On Wed, Oct 22, 2008 at 9:23 AM, Ed Loach <ed at loach.me.uk> wrote:
> I realise now that one of those two examples uses an offline tile
> source - it's interesting to see how much the area around here has
> changed, but not much use for you.
> Hopefully this one is more use?
>> -----Original Message-----
>> From: talk-bounces at openstreetmap.org [mailto:talk-
>> bounces at openstreetmap.org] On Behalf Of Lukasz Szybalski
>> Sent: 22 October 2008 14:51
>> To: Grant Slater
>> Cc: OSM Talk
>> Subject: Re: [OSM-talk] mapnik and openlayers?
>> On Wed, Oct 22, 2008 at 8:29 AM, Grant Slater
>> <openstreetmap at firefishy.com> wrote:
>> > Lukasz Szybalski wrote:
>> >> So its safe to assume that TMS is what mapnik provides?
>> (only) and if
>> >> I want WMS I would have to create that service on my server?
>> > Your server yes. OSM's tile servers do TMS only.
>> So now what is the layer name for this url? I know the image is
>> I replaced the url with "http://tile.openstreetmap.org/" what
>> is the layer_name?
This is the code to get the maps but it doesn't have a TMS layer name
var mapnik = new OpenLayers.Layer.TMS(
34 "OpenStreetMap (Mapnik)",
37 type: 'png', getURL: osm_getTileURL,
38 displayOutsideMaxExtent: true,
39 attribution: '<a
More information about the talk