Hi All,
I worked with GT-Dynamic Theming of Layers with only feature source in my
Map,it works great but when i use the map with raster and feature sources and
try to use the GT-Theming Task it use to throw exception about Raster
source,can anybody tell me how to solve this
... this sequence tends to work
// For some reason the MgByteReader disappears
// This seems to work
long long_length = rs.GetResourceContent(resId).GetLength();
byte[] byteBuffer = new byte[long_length];
int numBytes =
Thanks Kenneth.
This does explain what I'm seeing.
I have tried MgByteSink, but am having the same problem with it.
Keith
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kenneth,
GEOGRAF A/S
Sent: 31 August 2007 12:44
To: MapGuide Users Mail
Thanks Dennis.
I've tried this, but I'm only getting 8192 bytes read into the byte
buffer. This seems to be the problem mentioned by Kenneth. The Read
method doesn't seem to allow the start location for the read to be set,
so looping until the entire content of the Resource is read into the
I had posted a fix to this problem some time ago but it must not have made
it back into the source code. Here is the pertinent thread so you can
update the code on your end.
http://www.nabble.com/-Mapguide_users--General-Tasks-Sample-Code---Some-bug-
fixes-tf2932000s16610.html#a8197275
Andy
This is what I use in real life ... I did not understand. I was
illustrating the 8K thingee. It caught me to.
string lib_layer_definition =
resourceService.GetResourceContent(resId).ToString();
byte[] layerDefinition = new byte[lib_layer_definition.Length];
int
The only way around it, that I have found, is to copy/paste code like this:
System.IO.MemoryStream ms = new System.IO.MemoryStream();
byte[] buf = new byte[8*1024];
int read = 1;
while(read != 0)
{
read = mapByteRdr.Read(buf, buf.length);
ms.Write(buf, 0, read);
}
//ms now contains the
Is there a method for creating new and/or modifying existing fill patterns
for polygons?
Thanks
--
View this message in context:
http://www.nabble.com/Fill-Patterns-tf4361378s16610.html#a12430507
Sent from the MapGuide Users mailing list archive at Nabble.com.
Hi Paul,
Thank you for your insight and suggestion.
Turned out to be a browser caching issue and FDO problem.
Firebug is a great plug-in, thanks for the heads up!
On 8/30/07, Paul Spencer [EMAIL PROTECTED] wrote:
Hi Scott,
It sounds like it might be caching the XmlHttpRequest to load the web
Hi Scott,
was the problem purely a browser caching problem? I have tried to
set up the ajax requests to be not cached by the browser regardless
of the client configuration so I am interested to know if it works or
not (I typically run my browsers with caching turned off so it is
hard
10 matches
Mail list logo