Hi!
Does anybody know why?? when we draw a point with DigitizePoint function on
the map in IE6 works fine but...when we use it in FireFox3.5 it seems that
doesn't works, but when we do a refresh or any operation progressbar
interested the point is visible on the map!?!?!!?
Thanks anyway!!
Ciao!
Try using firebug and set a breakpoint, you can then examine the
variables, and see what they are.
For this example your code resides in the current page, so I don't
understand why you call opener.mapFrame to activate the function.
Next up, when you call parent.parent.mapFrame, you do so from
Hi Jackie, hi Kenneth,
thanks for making a good start in the week.
I'm opening the PHP macro from the task bar as a new window.
Both versions
opener.parent.parent.mapFrame.DigitizePoint(OnPointDigitized, abc);
and
...
function DigitizePoint(m) {
var seite = GetMapFrame();
...
Hello,
my task: I'am trying to pickup a point coordinate when the user clics on
the map to center the map on this point with a new scale.
It runs fine when I do this from the task pane. Here a code snippet:
script language=javascript type=text/javascript
function
Just one remaining question:
How could I insert the Point coordinate in a database.
I used javascript to display the point coordinate in a popup.
Now, the obtained values must be processed via a javacode and stored in a
database.
As am new to java/jacascript, i want to know how could I use the
Thank you macieksk for your reply;
I have tried the code you gave me but Ihave this error message when
executing it :
parent.parent.ViewerFrame.mapFrame have the null value or is not an object
I thing that the error is expected beacause the name of the map is not
mentionned.
I don't know how
The code assumes the following:
You are lauching the ajax viewer in a frame named ViewerFrame
You are using this code inside the task pane, which is 2 levels deep (hence
the parent.parent bit)
Assuming you are using this code from the task pane, just change
ViewerFrame to the name of the frame