Has any one got any examples of drawing pie charts with vectors as markers with OpenLayers?
2 Answers
An example can be found at this website:
http://thematicmapping.org/playground/openlayers_piecharts_geojson_google_chart.php
Well, took me a couple of hours but I found one way to do it.
It requires you to use dojo.js, (which unfortunately I can't use for my project but thought I'd share for anybody else that's looking).
Basically, as I understand it, dojo adds a custom wrapper to openlayers map which allows you to add Dojo GFX Shapes and Widgets - which includes Pie Charts!
See a good demo here: http://acuriousanimal.com/2012/01/23/dojo-openlayers-new-challenges
<canvas>
tag, which is hacky as hell and doesn't even support IE9.