On 19 March 2012 08:27, Andreas Hocevar <[email protected]> wrote:
> loading raw image data with Ajax requires client-side Base64 encoding
> to create a data URI, which would be very expensive.

Note that modern browsers have the window.atob and window.btoa
functions that offer base64 encoding and decoding at native speeds:

https://developer.mozilla.org/en/DOM/window.atob
https://developer.mozilla.org/en/DOM/window.btoa

Regards,
Tom

-- 
Camptocamp SA
Tom PAYNE
PSE A
CH-1015 Lausanne

+41 21 619 10 13 (direct)
+41 21 619 10 10 (centrale)
+41 21 619 10 00 (fax)
_______________________________________________
Dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Reply via email to