[mapguide-users] Little patch to make ajaxviewer as fast as google.maps

Zac Spitzer zac.spitzer at gmail.com
Mon Apr 6 09:02:10 EDT 2009


why would it end up loading the same tile more than once?

the host is selected randomly once the tile url has been constructed

for cases where load matters, an even randomised spread is far more desirable

z

On Mon, Apr 6, 2009 at 10:07 PM, Bruno Scott <bscott at geomapgis.com> wrote:
>
>
>
> the openlayers stuff supports 1.2
>
> z
>
>
> It works very well on openlayers, this is where i took the most omportant piece of code...
> The only difference is when there is more than one server , openlayers choose randomly witch one to use.
> This could end up loading the same tile more then once.
> I implemented a modulus on the tile row instead of random. So a tile will have always the same urls.
>
> Bruno
> --
> View this message in context: http://n2.nabble.com/Little-patch-to-make-ajaxviewer-as-fast-as-google.maps-tp2580480p2592685.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>



-- 
Zac Spitzer -
http://zacster.blogspot.com
+61 405 847 168


More information about the mapguide-users mailing list