On Wed, Dec 14, 2011 at 3:38 PM, Marcelo <[email protected]> wrote:
> On Dec 14, 10:35 am, K Lo <[email protected]> wrote: > > > > First thing is that the titles of the markers doesn't always show in > > FF (I'm using 8). Some do some don't. One thing I figured is that if > > I move my mouse pointer outside of the maps boundary and back inside, > > the one that didn't show title would then show title. I am thinking > > of making the map full screen and that problem is going to make my map > > unusable for 1/3 of the browser out there. > > I don't have FF8. Looks fine in Chrome. > KLO: The titles work on IE8, IE9 and Chrome but not FF8. > > > > > Second thing is the custom overlay image seems to be on top of the > > markers. Is there a place I can stick a zIndex to so it'll appear > > underneath? > > Try adding the overlay before adding the markers. > They go on the same mapPane, so as you're doing it now, when you do > panes.overlayImage.appendChild(this.div_); > the markers are already there. > > KLO: I have tried adding overlay before adding markers but same result. I have tried to put zIndex: 1 into almost every single div.style in the custom overlay scripts but it doesn't seem to do a thing... The smallest zIndex for my markers is 10. > > > > > Third thing is, if I link away from the map and then back, all markers > > load regardless of the checkboxes status before I link away. Any > > suggestion on how can I control this so the right site of markers will > > show when I return to the map by clicking 'back' on the browser? > > > > It's an AJAX application, so it does not preserve the state unless you > preserve it in a server session or a cookie. However, some browsers > will preserve the state of checkboxes, so you could check the state of > the checkbox before loading the markers, for example: > > //========== Untested =================== > if (document.getElementById('Checkbox1').checked) { > setMarkers(map, ElementarySchools, 'e'); > } > > JLO: Thanks! It works! How do I setup markers info into the array > without showing the markers on the map? Is it MarkerOptions object? > Because the latlang of the 'unchecked' markers are not setup in the array > when the map is initialized. > -- > Marcelo - http://maps.forum.nu > -- > > > > > -- > 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.
