In
http://arjan64.home.xs4all.nl/test11.html
I added 2 entries for entering lon and lat of the central location,
plus a button that should
update the map (still, like the other button, in a separate part of
the screen and not ON the map,
but that's a different topic). I must have goofed up completely, since
pressing that button makes
the page complain and nothing useful happens.
How can I make it such that the initial values of the entries for Lon
and Lat
match the lon and lat of the central location as known by the
JavaScript part?
And how can I pass modified values to my sector plot when I press that
button?
I have placed the definition and initialization of the central
location
outside the initialization routine. I hoped that this would pave the
way
for using the initialization routine as update-routine for the plot:
update the lon and lat of the centre and re-plot the map.
It didn't work.
Who has a suggestion for improvement?
Regards,
Arjan