Sunday, March 20, 2011

[Google Maps API v2] Problem with javascript functions in Google Maps mashup

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/gmaps-samples.googlecode.com/svn/trunk/poly/mymap2.htm

It almost works as it should except for the sidebar. For some reason
my sidebar does not understand javascript functions myclick,
mymouseover, and mymouseout.

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/mymapstoolbar.html?r=2122

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 google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate