Using Mike's workaround above fixed the streetview issue, but I've
come across another hitch which seems to be caused by adding the
following line to my code beneath the map = new GMap2 etc line around
line 144 in the .js file:
map.getInfoWindow().show();

Here's the new problem - unchecking a category for the first time does
not remove the associated listings from the sidebar. If you then check
and uncheck the same category for a 2nd time, the sidebar listings are
correctly removed and it continues to work properly for subsequent
checkbox clicks.
The problem is only with the sidebar, as the markers are correctly
removed from the map when the category box is unchecked.

Here is a link to the problem map:
http://www.peterbertelsen.com/map-test/categories-test-d.html

And here is a link to the same map where the sidebar is working
properly (but streetview is not):
http://www.peterbertelsen.com/map-test/categories-test-f.html

As with the streetview issue, I'm guessing it also a timing issue,
possibly to do with the makeSidebar(); command, and I've tried that
line in various different places without success.
Once again, I'm grateful for any help you can give me.
Thanks


On Aug 18, 10:42 am, Mike Williams <[email protected]> wrote:
> It's a timing issue with the infowindow module. When you first open the
> infowindow there's a delay while the infowindow module code gets loaded.
> The second time you open the infowindow it opens with no delay.
>
> Full details and a workround are here:
>
> http://econym.org.uk/gmap/modularized.htm
>
> --
> Mike Williams

-- 
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