Displaying charts and other graphical overlays with olwidget

31 views
Skip to first unread message

Roberto Maurizzi

unread,
Jun 15, 2011, 3:50:41 AM6/15/11
to olwi...@googlegroups.com
Hello,

I was wondering if I can create something like this using olwidget-django : http://blog.thematicmapping.org/2008/04/openlayers-and-google-chart-mashup.html
Is there something in the works to support GeoJSON Featurecollections and vector layers used to display charts or info?
What would be the smartest way to access OpenLayers objects from olwidget using a custom template?

TIA,

Roberto

Charlie DeTar

unread,
Jun 15, 2011, 7:51:01 AM6/15/11
to olwi...@googlegroups.com

Hey,

I currently have no particular plans to implement anything with GeoJSON
personally, but if you're interested in whipping something up, would
consider merging.

You could of course display images from google charts without GeoJSON,
doing a distinct style per point, for example:

http://olwidget.org/olwidget/v0.4/doc/examples/info_per_point_style.html

Ultimately, olwidget.Map is a subclass of the OpenLayers map, so you can
apply any OpenLayers methods to it.

-charlie

Roberto Maurizzi

unread,
Jun 15, 2011, 8:17:04 AM6/15/11
to olwi...@googlegroups.com
Ultimately, olwidget.Map is a subclass of the OpenLayers map, so you can
apply any OpenLayers methods to it.


I'll try to check what's the best solution for my situation, I don't think I have enough time to do serious work right now ^_^;
Thanks for pointing out that I achieve the same result by styling a marker for each chart, I saw the example but didn't think about using it that way :-)

Roberto
Reply all
Reply to author
Forward
0 new messages