Hi!
I constructed a simple sample sector plot:
http://arjan64.home.xs4all.nl/test2.html
It does more or less what I had with static maps, but now hopefully
without the restriction of 2048 characters. Of course, now I have some
questions:
1): With the static maps, the zoom was set automatically such that
alle elements would fit. Now I had to specify the zoom explicitly
inthe code. Can I enable automatic map scaling with V3 API?
2): Is there a way to lock zooming? Once everything fits, I would
prefer the zoom-level to remain fixed. Now, every time I touch the
mouse wheel, or (try to) drag the map, the map changes.
3): The sequence to draw a rectangle should in fact draw a segment of
a circle. For a given central point, I would like to have a routine
that draws such a sector for a specified radius from a given starting
angle to a given end-angle. My fluency in "JavaScript" is poor, and I
find this language quite different from the one's I use to use:
FORTRAN and PASCAL. Can someone give me a hint on how to write such a
subroutine? Now I wrote it all out for each sector separately, knowing
that this is tedious if I have 6 sectors.
4): Is there a way to enter the location of the central point and have
the map use that?
5): Can I add text on the map? E.g.: usually, there are 8 sectors and
I would like
to add the sector numbers.
Thanks!
Arjan