On Mar 3, 3:46 pm, Happy <[email protected]> wrote:
> I'm getting following error last few weeks: this.Sa is not a function
> - m.sb=function(a,b,c){this.Sa().sb(a,b,c)}; on my site RCMapy.com
> How to reproduce?
> 1) Follow this 
> linkhttp://rcmapy.com/?map=1&lat=50.0831414307389&lng=14.450454711914062&;...
> 2) Click "Lokality" on the right side and after that click on first
> sidebar entry, for example "Banska ..."
>
> This error causes my sidebar not to work:/ I'm 99,9% sure, that this
> error came in the past few weeks, because i already have "workaround"
> for it (which is "commented" in my code right now).
>
> I would like to know, if this is an error or feature and how to
> prevent it? My fast and dirty workaround: explicit call of
> map.addOverlay before GEvent.trigger(...,"click") in the click event
> handler... Is it possible to determine GMarkerManager behaviour ?
>
> Can anyone help me? Thank you very much.


The Marker Manager optimizes by not adding markers to the map that
aren't visible.  You can't click on a marker that hasn't been added to
the map (which is effectively what GEvent.trigger(xxx, "click") is
doing).  There is a work around using map.openInfoWindow that has been
discussed in previous posts.

  -- Larry



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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