I'm working on an application that renders GeoJSON into OpenLayers map.
The idea is about not having PNG images downloaded from external services (OSM or Bing) but having geo-information in GeoJSON file and rendering them in real-time. From my research this technology seems to be called 'vector tile'
. I had a look at some of the guys' websites such as
http://openstreetmap.us/~migurski/vector-datasource/
and
http://mike.teczno.com/notes/postgreslessness-mapnik-vectiles.html (same guy).
His work seems to be what I want to achieve but I do not really get how it works.
From my understanding, since I use OpenLayers, a client retrieves map data in GeoJSON format and transfers them into vectors using OpenLayers' GeoJSON parser. But it's just the terms used in this technology that I do not get.
In his blog he described that there will be a server that provides data that is called 'MapNik Vector Tile'
format. What's the difference between vector tile and GeoJSON? does it simply mean tiled GeoJSON that corresponds to the bounding box? Or is it a new image type?
If you have a look at his example, you can observe the labels on roads are aligned with the strokes of the roads. I tried to do the same on OpenLayers by changing Renderer code in OpenLayers but I'm only able to rotate labels but not make them bend them along the roads (E.g., when roads have corners, map displays labels in 'L' shape. ** + very well rendered!
It looks like Mike (the author of the blog) uses some different map besides OpenLayers but I cannot figure out how he did it. There are so many questions to ask but I'd like to understand the above first.