On Mar 20, 1:43 pm, Olha <[email protected]> wrote:
> Hello.
>
> I am trying to create a map with interactive markers where users
> can draw polygons around markers. Here is my script:

http://abuchel.apmaths.uwo.ca/~obuchel/maps/iframes_example/drawing/g...
>
> It almost works as it should except for the sidebar. For some
> reason my sidebar does not understand javascript functions myclick,
> mymouseover, and mymouseout.

That is because those functions are local to your initialize
function.  They need to be in the global scope (outside all other
functions) to be used in HTML click events.

  --Larry

>
> Here is the file where the sidebar works as it is supposed 
> to:http://abuchel.apmaths.uwo.ca/~obuchel/maps/iframes_example/best102.htm
>
> This file is built based on Mike Williams files.
>
> I combined this file with the geometry tools file available from
>
> http://code.google.com/p/gmaps-samples/source/browse/trunk/poly/mymap...
>
> Both files work perfectly fine on their own, but it is hard to combine
> them.
>
> Do you possibly know a solution?
>
> Thanks,
>
> Olha

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to