File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ An MIT licensed javascript implementation of some of the mapnik Layer, Rule, Style and symbolizer
2
+ classes (implemented mainly by eye-balling the XML and reading the wiki).
3
+
4
+ Also javascript classes to take XML from the OpenStreetMap API and turn it into GeoJSON-ish things.
5
+
6
+ Also javascript classes to make using Array.filter more sane, and slightly SQL-ish.
7
+
8
+ Nowhere near feature complete. There is an initial attempt to implement text rendering,
9
+ which is where things should get interesting.
10
+
11
+ OpenLayers has a similar set of classes for styling vector data, and Cartagen also explores
12
+ similar ideas.
13
+
14
+ TODO:
15
+ - proper projections (right now things just get squeezed into squares)
16
+ - more symbolizers (text, point, etc)
17
+ - try an SVG renderer instead of canvas (DOM is handy!)
18
+ - load and parse mapnik-ish xml files (URLs for sources?)
19
+ - load and parse cascadenik files (CSS++)
20
+ - use something like YQL to transform the XML to GeoJSON on a server?
21
+
You can’t perform that action at this time.
0 commit comments