It's google.maps.event, not google.map.event.

Chris
On Jul 16, 2011 7:15 AM, "Nico" <[email protected]> wrote:
> Hello,
>
> I'd like to do two things when someone doubleclicks on an Marker and
> would like to know if it's even possible:
>
> - resize the Map (already tried it with google.map.event.trigger(map,
> "resize"), but it doesn't seem to work)
>
> - add dynamic video- and audiocontent (html5) beside the resized map.
> With dynamic I mean that the content should be related to what marker
> is doubleclicked on
>
> If it's not possible I'd like to know if theres some kind of
> workaround. Like opening a new Window instead of resizing the map or
> something like that.
>
> I'm sorry if my question seems stupid. I started programming
> JavaScript like 2 weeks ago and am still a big newb, but I'd
> appreciate if someone could help me out here.
>
> You can take a look at my sourcecode right here:
> http://nicojensen.kilu.de/poiRecognition.html
>
> This is the part that doesn't work so far:
> google.maps.event.addListener(tempMarker, 'dblclick', function() {
> map.style.width = "50%";
> map.style.height = "50%";
> google.map.event.trigger(map, "resize");
> });
>
> Thanks in advance,
> Nico
>
> --
> You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to