[mapguide-users] Fusion legend performance fixes in the future?

Jackie Ng jumpinjackie at gmail.com
Sun Nov 3 22:01:07 PST 2013


That doesn't sound right. 

IE8 supports data URIs, so it should be passing preCacheIcons=true to
LoadScaleRanges.php which instructs it to includes inline data URI icons as
part of the response.

The getLegendImageURL function in MapGuide.js checks for an inline data URI
under style.iconOpt.url and returns that if it exists, otherwise it fires
off the GETLEGENDIMAGE request.

I'm guessing either:

 a) preCacheIcons=true is not being passed to LoadScaleRanges.php
 b) The inline data URIs are not being set under style.iconOpt.url, which
getLegendImageURL sees nothing there, so it fires off the regular
GETLEGENDIMAGE request.

Is your IE8 running under compatibility mode? If so, then all bets are off
as to what behaviours are certain.

- Jackie



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Fusion-legend-performance-fixes-in-the-future-tp5087026p5087179.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list