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 for
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 th
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.
_
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 strea
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 byteCou
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 M
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
buffe
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 L
... 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 = rs.GetResourc
On multiple installations of MapGuide OS 1.2 RC2, there are no
coordinate systems installed.
If I access the http:///mapguide/mapagent/index.htm, choose
Coordinate System and EnumerateCategories i get:
Arbitrary X-Y Coordinate
Systems
Trying the same on the "Live Application Gallery server
The "ToString()" is not implemented, and thus returns "MgByteReader",
which you cannot use as an XML document.
The MgByteReader is very volatile and fragile, when you try to debug it
with VS.
Any attempt to pass the byte reader to a function (as a parameter) will
clear the stream.
You cannot r
I am trying to alter a map definition through the API and cannot get the
contents of the MgByteReader in string format. Here's the code:-
String mapDefinition = "Library://My Folder/Maps/My
Map.MapDefinition";
MgResourceIdentifier MapResID = new
MgResourceIdentifier(mapDefi
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 problem
13 matches
Mail list logo