hi all, First time poster, long time lurker. I'm currently in the process of converting a bespoke flash mapping system over to using gmaps. The map itself functions ok, but I'd like to improve the performance in terms of marker displays (don't we all). Reading around the group, I think using the GSprite might save some time as I do have a lot of bespoke icons to display. However, I'm not sure if I'm getting the full benefit from using the open source MarkerManager as to get to the speed improvements that I am currently getting I have to call clearMarkers() each time I rezoom or move the map.
Would any of you kind souls have a quick look at the code and suggest where I can make further improvements? http://waterscape-paul.ws-dev.positive-dedicated.net/map (you need to zoom in two levels to start making any calls to the db and it will initially return towns and attractions in that viewports bounds + some custom padding size) I am currently calling the data from a mysql spatially enabled db and passing the data back as xml to help limit the amount of data found. I have set a number of preloads in external js files for the images and have then used them in GIcon() calls. I have a getMarkers() function that tests the zoom level and then makes an ajax call if the zoom level is great enough - depending upon which attributes I need to show. However, I am wondering if I should break up the ajax call and chunk the data back to the map rather than use GDownload() and wait for all the corresponding data to be returned? - this is the main problem when there are 150+ markers to be returned back. I would also appreciate any feedback on optimising the calls made in my base.js file with regards to allocating the markers types and categories. Kind regards, paul --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
