Friday, January 26, 2007

Business graphics

I see a lot of sense to make presentation graphigs by GPolygon. Graphics are the the easy part, legends cause some pain.

Do it. Dynamic diagrams and pies. Easy as a lie.

My project just now is a pie called 'clock'.

Thursday, January 04, 2007

Large Zoom Control Without Pan Buttons

A duplicate of my post on api forum:

You can move the large control upwards:
map.addControl(new GLargeMapControl(),
new GControlPosition(G_ANCHOR_TOP_LEFT,
new GSize(5,-60)));

Having a style definition 'overflow:hidden' for the map div hides the
overflowing pan buttons.

A demo.

There is also a clever commenting script called 'JS-Kit' on the demo page. That is loaded by GScript() just for testing. Try commenting or just sending regards.