The process time for 500 makers is the reason I want to cluster. I changed the infoWindow content load so it only calls getinfo() once. Thanks for the tip. I'm using IE8 on a ten yr old Dell and the process time didn't seem to improve much. Chrome is much faster, which I tested with the change to a earlier version (www.horsetraildirectory.com/map). That version also does not specify a width but Chrome works fine with it. With the one I'm working on ( http://www.horsetraildirectory.com/dec10_map_test_cluster.htm) Chrome doesn't show the map.
Using IE, I get the map and markers (I called pointers earlier) but I'm missing something with the MarkerClusterer. The code appears to be running but there aren't any clusters. Am I supposed to group my markers in some way? Or did I just screw up someplace that I can't identify. Thanks for your help John T On Dec 22, 1:25 pm, Rossko <[email protected]> wrote: > > In Chrome, the map doesn't show and Javascript console doesn't show > > any fatal errors; > > In FF2 also, no map and no script error. > > <script .. src="http://maps.google.com/maps/api/js? > sensor=false&key=ABQIAAAAJ4iU9.... > You don't need a key with V3 maps > > <div id="map-container"> > <div id="map_canvas" style="float:right;width:70%; height:100%"> > The map_canvas is 70% of the width of something indeterminate. Some > browsers will report that as zero-size, causing the API to build a > zero-size map - which we can't see ... > Try giving the div a fixed pixel size. > > It takes some time to process your 500 markers. I suspect a lot of > wasted effort in your getinfo() function (from infowindow.js) whic is > called for each marker creation. > getinfo() creates a new array of all 500 info content every time you > call it, then returns just one of them. > Maybe create that array just once? > > > In IE, the map shows but no pointers. > > In IE6 (which isn't really a fair test) I get a map with odd little > markers on it, not sure if these are the expected "pointers". > There is an error " '1' is null or not an object " > I haven't worked out where that comes from yet, may be in the > infowindow content somewhere? -- 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.
