Look at

http://www.free-map.org.uk/0.6/

This uses Leaflet (leaflet.cloudmade.com) to show the map. Note that the map is 
actually generated client side (using kothic-js); however it's a simple change 
to convert to a mapnik raster layer (use an L.TileLayer rather than an 
L.TileLayer.Kothic; see examples on the webmapping2.xhtml page).

A 'drag end' event is captured; this then then sends an AJAX request to a 
GeoJSON server. Again see the Leaflet site for explanation of how it works.

Nick

-----Frans Thamura <[email protected]> wrote: -----
To: Nick Whitelegg <[email protected]>
From: Frans Thamura <[email protected]>
Date: 20/01/2012 04:33PM
Cc: [email protected]
Subject: Re: [OSM-talk] geojson

i am still seeking how to use this geojson in mapnik.

if you have an example that will be awesome

a working example  :)

brewmap.osmosa.net -> just json, i wish geojson

F



On Fri, Jan 20, 2012 at 11:27 PM, Nick Whitelegg
<[email protected]> wrote:
> Hi,
>
> Do you mean a geojson overlay on a mapnik map, i.e. markers?
>
> I think openlayers has a geojson layer: Leaflet certainly does.
>
> There's some material on the Leaflet site on creating a geojson layer.
>
> You might also want to look at
>
> http://www.free-map.org.uk/course/ewt/webmapping2.xhtml
>
> Nick
>
> -----Frans Thamura <[email protected]> wrote: -----
>
> To: openstreetmap <[email protected]>
> From: Frans Thamura <[email protected]>
> Date: 20/01/2012 04:11PM
> Subject: [OSM-talk] geojson
>
> hi all
>
> we want to implement geojson on mapnik with OSM data
>
> any glue to start?
>
> the idea will extend BrewMap code, become application to manage POI
>
> F
>
> _______________________________________________
> talk mailing list
> [email protected]
> http://lists.openstreetmap.org/listinfo/talk

_______________________________________________
talk mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk

Reply via email to