Hi,
I want to use MapGuide as WMS client. The WMS Server I want to connect
supports different projections such as EPSG:4326, EPSG:31467 and more. I
successfully connected to the Wms Server and I can see the layer in the
layer preview in MapGuideStudio 2008 (looks like EPSG:4326). In my
Hi,
I wonder how to set up my develop environment. I'd like to have my
webapplication on a different computer (on my client machine) than the
MapGuide OpenSource Software (on the server).
Currently I'm developing with Visual Studio and the .NET Framework. I copied
the required dll's into the bin
to
reference these files?
Gunter
Jackie Ng wrote:
Does configPath actually point to your webconfig.ini?
It could be that it's looking for webconfig.ini in the temporary asp.net
files folder.
Have you tried Page.ResolveUrl() for the webconfig.ini path?
- Jackie
Gunter Becker wrote
Hi,
several months ago I created a webapplication with MapGuideOpenSource 1.1.
Now with release 1.2 this code doesn't work anymore but I can't figure out
what has changed.
The following gets the current runtime map:
MgMap map = new MgMap();
MgResourceIdentifier mapId = new
OK I've found out how to change my code that this works again.
I had to open the map with the MapName not with the ResourceIdentifier:
MgMap map = new MgMap();
MgResourceIdentifier mapId = new MgResourceIdentifier(Session: +
MgSessionId + @// + MapName + . + MgResourceType.Map);
scripting
when it is located in another domain. I ran into this problem and got the
same error saying object or method does not exist.
Gunter Becker
gom wrote:
I have the following code in vb.net. I get a javascript error when I try
to do the refresh. If I place an html button in the page
Hi Chris,
I've made yesterday exactly the same experience like you but didn't realise
that the tooltip shows up when moving the mouse cursor north of the object.
I thought I've done something wrong but now think it's a bug in AJAX Viewer.
When you have a colored background (I mean for eyample
Hi,
I try to setup the mapguide virtual directory under my WebApplication root
in IIS 6 on my development server (Windows Server 2003) so that it looks
like this:
http://localhost/myWebApplication/mapguide
On our production server it works fine when I manually add the mapguide
virtual
That's the way I did it on the production server but not on the development
server. I just tried to configure the virtual directory manually. After
saving and restoring the virtual directory from file it works for me. Thank
you, Jacky.
Gunter
Jackie Ng wrote:
IIS6 supports saving web
Hi all,
I would like to have a compound line symbol for street stylization like I
can do with basic stylization in MapGuide Studio. Now I've created a
SimpleSymbolDefinition called SolidLine and use this two times in the
CompositeSymbolization of my LayerDefintion. My problem is that the line
-
From: [EMAIL PROTECTED] [mailto:mapguide-users-
[EMAIL PROTECTED] On Behalf Of Gunter Becker
Sent: Tuesday, February 19, 2008 9:23 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Compound line with Cartographic Stylization
Engine
Hi all,
I would like to have a compound line
Hi,
in MGOS 1.2 I used coordinate system overriding for WMS layers as described
in
http://trac.osgeo.org/fdo/wiki/FdoWmsNotes
http://trac.osgeo.org/fdo/wiki/FdoWmsNotes
This works fine for me since I've updated MGOS to version 2.0.1. No WMS
layers showing up anymore!
I recognized some
From: Gunter Becker [EMAIL PROTECTED]
To: mapguide-users@lists.osgeo.org
Sent: Thursday, June 5, 2008 4:05:05 PM
Subject: [mapguide-users] WMS - coordinate system overriding in MGOS
2.0.1
fails
Hi,
in MGOS 1.2 I used coordinate system overriding for WMS layers as
described
in
http
Hi Max,
please habe a look at http://trac.osgeo.org/fdo/wiki/FdoGdalNotes Creating
Tile Index Config Files . Maybe you can build a tile index for your
ecw-files. That will minimiz the file access. But I don't know if this works
with ecw.
Gunter
max_samart wrote:
Hi All,
I am
Hi,
does MGOS supports StoredProcedures via the FDO Provider for ODBC and other
FDO providers or does someone knows if there are any plans to support them.
I miss the ability to access feature data in a more sophisticated way like I
did it in some MapServer application I wrote.
Thanks in
Hi Stefan,
it is a bug in AjaxViewer. You have a weblayout with properties pane
disabled. Enable it and the map is
at the right position. There is also a ticket on track:
http://trac.osgeo.org/mapguide/ticket/593
http://trac.osgeo.org/mapguide/ticket/593
Gunter
--
View this message in
Hi,
please have a look at http://trac.osgeo.org/mapguide/ticket/600 trac ticket
600 .
I think that is the same problem.
Gunter
Stefan Dalakov wrote:
Hi Kenneth,
I explored the error log.
The problem is that coordinate systems do not match BUT :
1. The error log says
/The
Hi all,
what ist the easiest way to get an MapDefinition from an users runtime map.
My purpose is to save the users runtime map in Library after he has added
some layers to the map and maybe has changed the visibility of the layers.
Until now I had static maps and it was easy to compare the
, Kenneth Skovhede, GEOGRAF A/S
Gunter Becker skrev:
Hi all,
what ist the easiest way to get an MapDefinition from an users runtime
map.
My purpose is to save the users runtime map in Library after he has added
some layers to the map and maybe has changed the visibility of the
layers.
Until
Hi,
I'm trying to add a layer to the runtimemap using the MaestroAPI:
MapLayerType layer = layerArray[layerName];
RuntimeMapLayer runMapLayer = new RuntimeMapLayer(layer);
runMap.Layers.Add(runMapLayer);
On creating the RuntimeMapLayer I get the following Error:
error in XML
layers from Maestro.
Regards, Kenneth Skovhede, GEOGRAF A/S
Gunter Becker skrev:
Hi,
I'm trying to add a layer to the runtimemap using the MaestroAPI:
MapLayerType layer = layerArray[layerName];
RuntimeMapLayer runMapLayer = new RuntimeMapLayer(layer);
runMap.Layers.Add
at runtime from
an exisiting MapDefinition in Library-Repository and which methode should I
use
Gunter
Gunter Becker wrote:
Great, it works for me.
Thank you Kenneth
Kenneth Skovhede, GEOGRAF A/S wrote:
Indeed it is.
You need to change line 1545 of the file
MaestroAPI
Hi,
when using RenderRuntimeMap methode of the Connection object it seems
that the dpi value takes no effect. I'm trying to render the map with
150 dpi but it renders like using 96 dpi.
When rendering through the WebTierApi with the exact same values (150
dpi) it shows up as expected.
Hi,
I want to create a new featuresource (shp, sdf or SQL Server 2008 Spatial)
from my webapplication (c# .NET). I got it working for a sdf FeatureSource
with the MapGuideAPI. But I'm wondering if it is possible for SHP or SQL
Server Spatial at all. What are the steps to create an shape-file in
.
MaestroAPI won't make it easier because the method is missing from
MapGuide.
Implementing it inside the MaestroAPI using FDO would make Maestro
non-portable.
Regards, Kenneth Skovhede, GEOGRAF A/S
Gunter Becker skrev:
Hi,
I want to create a new featuresource (shp, sdf or SQL Server
the need to use FDO directly
for some providers (the non-RDBMS ones)
- Jackie
Gunter Becker wrote:
Hi,
I want to create a new featuresource (shp, sdf or SQL Server 2008
Spatial) from my webapplication (c# .NET). I got it working for a sdf
FeatureSource with the MapGuideAPI. But I'm
are in
the output directory
- Jackie
Gunter Becker wrote:
Thank you Jackie,
I've put all the managed and unmanaged dll's from the windows binaries in
the bin folder of my WebApplication and tried to follow your steps but I
got an error message :
File or assembly file:///C:\Users
OK, I tried it with the SDK files and know I got the error message:
The specified module could not be found
Any ideas?
Gunter
Gunter Becker wrote:
No, these files are from FDO API and Common Binaries under Windows
Binaries. Does it make a difference?
I'll download the SDK files
and that is somehow messing with the paths?
- Jackie
Gunter Becker wrote:
OK, I tried it with the SDK files and know I got the error message:
The specified module could not be found
Any ideas?
Gunter
Gunter Becker wrote:
No, these files are from FDO API and Common Binaries
Gunter Becker wrote:
Using the SDK File in a WindowsApplication works for me!
But I would like to manage the creation of a feature source in the
WebApplication.
I think I have the C++ runtime library installed but I don't know
exactly.
How can I determine that I have Visual C++ 2008
Hi,
i'm trying to add features to an existing FeatureSource via MapGuide API.
I've created a new schema with Autodesk Map 2010, created some polygons,
created my feature source and layer in MapGuide Studio, inserted the layer
in my map and it shows up fine.
OK, displaying the features works
Hi,
I would like to get all the propertytypes of the propertyitems in a feature
class. What is the best way to do this.
I already tried this:
MgClassDefinition classDef =
_featureService.GetClassDefinition(featureSource, schema, featureClass);
MgPropertyDefinitionCollection propertiesDef =
type and then use the DataType property
of this class:
short dataType = ((MgDataPropertyDefinition)propDef).DataType;
Sorry for making trouble,
Gunter
Gunter Becker wrote:
Hi,
I would like to get all the propertytypes of the propertyitems in a
feature class. What is the best way to do
Sorry,
return value must be of type int
int dataType = ((MgDataPropertyDefinition)propDef).DataType;
Gunter Becker wrote:
OK,
after hours of searching and posting my problem I got at last the idea to
look in the Web API and found the answer to my question. Wow!
The value 100 meens
Spatial problem ) that describes a similar problem.
But this problem had to do with 3-dimensional point what is not what i am
using. I am using x,y-points.
Any ideas?
Gunter
Gunter Becker wrote:
Hi,
i'm trying to add features to an existing FeatureSource via MapGuide API.
I've created
to my problem or find out that it is a bug in
mapguide code then I will use SQL Scripts.
Thanks, Gunter
Rodolfo Moreno wrote:
why don't you insert sql features using SQL spatial scripts?
Regards,
Gunter Becker wrote:
Is there at least anyone who had successfully added features to SQL
Rodolfo Moreno wrote:
why don't you insert sql features using SQL spatial scripts?
Regards,
Gunter Becker wrote:
Is there at least anyone who had successfully added features to SQL
Server 2008 Spatial with the MapGuide API. What could cause problems
when adding features to the database
sql features using SQL spatial scripts?
Regards,
Gunter Becker wrote:
Is there at least anyone who had successfully added features to SQL
Server 2008 Spatial with the MapGuide API. What could cause problems
when
adding features to the database?
I think there was another thread
Hi,
I'd like to update existing features with NULL values.
Let's say I have a property called 'age' and I want to delete the value of
this property
so that I have a null value instead of the integer value.
The only contructor I've found needs two parameters. The property name and
the property
Hi everyone,
I discovered a strange behavior when trying to add a MgDateTime to a
SqlServersSpatial featuresource:
To insert a DateTime-object into a featursource I first have to convert it
into a MgDateTime.
This code works fine when inserting a DateTime into a sdf featuresource:
...
Hi all,
what is the best way to determine the supported geometry types of a specific
provider?
I haven't found any methods in MapGuideAPI or MaestroAPI that return this
information.
Do I have to use WebTier - methods??
Thanks, Gunter
--
View this message in context:
Hi all,
I'd like to know how to query Features of an FeatureSource that have no
geometry (GeometryProperty == null).
I have an SQL Server Spatial table with an geometric column. But not all
features in this table have a geometry. I want the user to geocode these
features that have null values.
OK, I've got it :
MgFeatureQueryOptions queryOptions = new MgFeatureQueryOptions();
queryOptions.SetFilter(Geometry NULL);
Gunter Becker wrote:
Hi all,
I'd like to know how to query Features of an FeatureSource that have no
geometry (GeometryProperty == null).
I have an SQL Server
Hi Christian,
I think your problem is related to this
http://trac.osgeo.org/mapguide/ticket/600 ticket .
It is fixed in trunk and probably in the next MapGuide version (2.2?)
Gunter
--
View this message in context:
Hi all,
I'm working with MGOS2.1. When trying to get a connection through the
MaestroAPI I get a TypeInitializationException with this message:
The type initializer for 'OSGeo.MapGuide.MapGuideApiPINVOKE' threw an
exception
It happens at this line:
_nativeConn = new
Kenneth, thanks for your reply.
No, I don't think so because I tested it on another Windows Server 2008 /
32Bit and it works well.
Next thing I tried was to use your signed MapGuideDotNetAPI.dll you posted
some days ago. This also doesn't work. And then I tried to sign the
MapGuideDotNetAPI.dll
The InnerException is:
'The type initializer for 'SWIGExceptionHelper' threw an exception'
The InnerException of this Exception sounds a little bit weird (it's in
german but I try to translate):
'The DLL MapGuideUnmanagedApi: procedure could not be found. (Exception
from HRESULT: 0x8007007F)
/sysinternals/bb896645.aspx
Regards, Kenneth Skovhede, GEOGRAF A/S
On 03-02-2010 10:25, Gunter Becker wrote:
The InnerException is:
'The type initializer for 'SWIGExceptionHelper' threw an exception'
The InnerException of this Exception sounds a little bit weird (it's in
german but I try
Hi everyone,
I'm dealing with selecting features serverside and then dislpay the seletion
on the map. First of all let me say that I have a solution that works but
I'm wondering about the client side code to display the selection.
If the current selection (before adding new features) has one or
Hi,
I'm trying to connect to an Oracle-Database (10g R2) via DSN (FDO Provider
for ODBC). The System DSN works fine. My problem is that it doesn't show up
in the DSN-Listbox in MapGuide Studio or in MapGuide Maestro when trying to
create a feature source. The Listbox stays empty, even if there
Hi Jackie,
I already have the latest 2.1 preview because I see that ODBC DSN support
was added in this preview.
With that version nothing is shown on Windows Server 2008 (64Bit) and
Windows 7 (64Bit) but works on Windows XP (32Bit).
Gunter
--
View this message in context:
Hi James,
your totally right. Windows 7 and Windows Server 2008 are 64Bit machines and
my Windows XP is 32 Bit.
I will see if the solution in the link works for me.
Thanks, Gunter
--
View this message in context:
Hi Jonathan,
yes I use the 32 bit ODBC Data Source Administrator and now I can see my
created data sources in MapGuide Studio and MapGuide Maestro.
Like I mentioned in my first post I would like to connect to an oracle
database. unfortunately there is no oracle driver like in the 64 bit ODBC
Hi,
I have a FeatureSource which I create at runtime in the Session-Repository.
I insert and delete features in this FeatureSource several times and each
time I want to zoom to the full extent of the FeatureSource.
Unfortunately, the GetSpatialContext methode of the FeatureService returns
the
Thanks all,
I'm using the MaestroAPI and therefore loading and then saving the
FeatureSource (same as calling GetResourceContent and SetResourceContent)
without changing did the job.
I will file a bug in trac!
Gunter
--
View this message in context:
Hi Dennis, hi Zac,
At the moment I'm just using the SDF Provider (no oracle test data needed,
thanks). So, I assume that there are no FDO related issues in this provider.
Like I said in my first post, I can write a MgMultiGeometry into the
FeatureSource without any problem. Only problem I think
Hi all,
I'm trying to connect to an orcale database 10g (no spatial) via tho FDO
Provider for ODBC.
I've created successfully the ODBC entry in the ODBC DataSource Manager and
can connect to the oracle database. I also can make a connection via MS
Access or the old MapGuide 6.5.
But
Hi,
is it possible to connect to a SQL Server 2008 Failover Cluster. Where can I
add the Failover Partner. In ASP.NET the connectionstring looks like that:
connectionString=Data Source=MYSERVER1;Failover Partner=MYSERVER2;
User ID=myuser;Password=mypassword;persist security info=False;initial
Hi,
I would like to test my webapplication with then new RC of MapGuide2.2 and
the MaestroApi (v2.1.4.5245) but I'm not able to strong naming
MapGuideDotNetApi.dll. I did this before with older MGOS 2.1 and this worked
for me.
Now I got the same error as mentioned in this thread about strong
Hi,
thanks for your answer. I think the error appears because it is not signed.
Does it work finally for you with MapGuide Enterprise 2011?
If yes, then I would say it is because of the Enterprise
MapGuideDotNetApi.dll. I don't know exactly what's the difference between
the enterpise and the
Yes, I agree that it would be nice to know if it works at all with this
releases.
I'd like to take adavantage of the great improvements of MapGuide 2.2 e.g.
64Bit support. I make havy use of the awesome MaestroApi. It makes
programming MapGuide a lot easier and faster.
Jackie, do you see any
Hi,
while struggling to get the
http://osgeo-org.1803224.n2.nabble.com/Again-strong-naming-of-MapGuideDotNetApi-dll-td5622823.html#a5622823
MaestroAPI work with MapGuide2.2 I got an error which I can narrow down to
the initializing of the webtier.
I setup a basic asp.net project (web
Hi Jackie,
thank you for your great post and the time you spent on this issue.
Unfortunately after signing the dll's I couldn't get my application to run.
I first thought something was wrong with the procedure you found but now I
suppose it has to do something with the RC1 itself.
So I'm
Hi Jackie,
yes this was relevant to me! Thank you very much.
The 'NETWORSERVICE' wich the MapGuideAppPool is runing under had only read
permissions on the bin folder. I haven't needed it before, cause in MapGuide
2.1 there were paths set in environment settings to
C:\Program Files
It looks like you have just signed your dll's with the maestrokey and edited
the keys to the external references in the il-files with the wrong key. You
have to use F5 26 C4 89 29 FD A8 56.
Gunter
--
View this message in context:
OK, I'm back trying to get MaestroAPI work with MGOS2.2 ddl's.
I have decompiled the dll's, edited the il-files and compiled them with the
maestrokey. Then I tried using the strong signed dll's in a basic
webapplication: just trying to get a connection to MapGuide without the
MaestroAPI.
Know I
Finally it works!!!
I missed indeed one reference in OSGeo.MapGuide.PlatformBase.dll to
OSGeo.MapGuide.Foundation.dll.
I overlooked it cause it was located above all other references in the
il-files and not in order with the other OSGeo.MapGuide.*-References. Sorry
for driving you crazy!
One
Hi Dan,
you have luck, I got also errors. I'm using Windows Server 2008 SP1!
I don't know if one of them is the same error you have discovered. At least
number one of them I think is related to localization and is independent of
the operating system and the browser:
1. In the responseText of
Hi Jackie,
I don't think that javascript works with localized numbers. I always use the
dot in my javascript files.
So, I think this is a critical bug because all users who have a
loacalization with a comma separator can't use mapguide anymore. Of course
there are solutions to work around at the
Hi Jackie,
you also have to apply your changes to reserved accounts since MapGuide is
running under a system account. I just changed the format-settings to
English (Australia) in Regional and Language Options. On tab
Administrative you are able to apply your settings also to the reserved
Hi Jackie,
what is the future of MaestroAPI. You say that 60% of the existing code
was thrown out and rewritten. Will there be lot of code to adjust for those
people who uses MaestroAPI in their application?
Gunter
--
View this message in context:
Hi Jackie,
your last post let me realize that the problem is in
getselectefeatures.aspx. So it was not so hard to change the code. I changed
line 231 from:
sb.Append({\x\ : + feat.Zoom.X + , \y\ : + feat.Zoom.Y + });
to:
sb.Append({ + String.Format(CultureInfo.InvariantCulture, \x\ : {0},
Only 7 groups and 20 layers. That is the default map for every user at start
up. Each user can extent his own map dynamically with more layer (20 groups/
100 layer). But also if i remove layers so that I just have 1 group and 1
layer the duration for requesting the runtimemap is 1 second on my
Are you using the http or local implementation of ServerConnectionI?
Shouldn't be much difference since the method implementation is the same for
both.
I'm using the local implementation of ServerConnectionI.
Did you get the 1 second result by profiling the call to GetRuntimeMap()
OK, i solved donloading the source code via svn and build a dll in debug
mode. Now i'm able to narrow down the problem to funtion
MgStreamToNetStream (line 312) in Utility.cs.
Jackie, do you see any chance in making this particular code working faster?
As the summery text implies this may not be
Sure, it would be possible. But what do you mean with package? A mgp with
data or do you mean an example project (VisualStudio) related to this
problem?
Gunter
--
View this message in context:
I will send you both as soon as possible.
Thanks, Gunter
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/MaestroAPI-GetRuntimeMap-takes-a-long-time-to-return-the-RuntimeMap-tp5755341p5792061.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
Hi,
just want to tell you that your not alone Steve and Martin. I have the same
issues with IE9 as Steve described in his previous post. Exactly the same
things doesn't work for me without compatibility mode. IE9 Version is
exactly the one you mentioned (RTM 9.0.8.112.16421). MapGuide is version
Hi,
when changing the DataConnectionPoolSizeCustom entry for the GDAL Provider
in serverconfig.ini it seems that this
setting has no effect. Even if I delete the entry from the
DataConnectionPoolSizeCustom it is the same. I checked the feature source
cache through the WebAPI (GETFDOCACHEINFO).
Hi Jackie,
just to clarify: Do you mean the XML Configuration document when your
talking about a Raster Image Catalog
Gunter
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/GDAL-Raster-Image-Catalogs-What-are-they-tp6268693p6268740.html
Sent from the MapGuide Users
Jackie,
as a preview of a layer for this featuresource you would see nothing else
then what you would see if you load a single raster file.
The benefit of this document is that MapGuide can quickly determine which
rasterfile(s) to open for the requested map extent. If you do not have such
a
Thanks Trevor,
can I suppose that my configuration (35 raster featuresources, 50 concurrent
user) could work with
the single-threaded GDAL Provider or does the provider means a bottleneck
for my application?
The repository error: I will try final release as soon it is available and
if the error
Hi,
in the last days we've got quite problems with our application based on
MapGuideOpenSource 2.2 (Windows Server 2008 R2, 64Bit).
Periodically the MapGuideAppPool in IIS7.5 crashes. In Windows event.log
there is the following message:
*A process serving application pool 'MapGuideAppPool'
Hi,
I'm using .NET and AJAX.
As an addition I want to say that we know have around 150 concurrent users.
Somewhere else I've read (I don't know where anymore) that mapGuide has
problems if there are more than 150 sessions.
Could this be the problem?
Gunter
--
View this message in context:
Hi,
I try to upgrade my code from MaestroAPI (2.x) to the latest MaestroAPI
(4.0).
I'm missing some methods/properties. In the former MaestroAPI the following
was possible
MapLayerTypeCollection mapDefLayerColl = mapDef.Layers;
MapLayerGroupTypeCollection mapDefLayerGroupColl =
Oh,
and I am missing also a method for removing all layers from a MapDefinition.
In the old MaestroAPI there where a Clear()-method on MapLayerTypeCollection
and MapLayerGroupTypeCollection.
In the current MaestroAPI that would mean having a method like
RemoveAllLayers? on the MapDefinition.
Thanks to all of you for the explanation.
Yes indeed, it is a lot of work and it will take a lot of time to migrate to
the new API since it handles somethings in another way. I will keep you
informed and think that I have some more questions on this task in the next
days.
Gunter
--
View this
Hi Jackie,
I agree with Hans. I myself had just not enough time in the past to migrate
the API.
One thing I haven't found out is how to change the LayerDefinition of a
RuntimeMapLayer so that it points to an new LayerDefinition (for example
when trying to change the theme of the layer):
In the
Hi Hans, good idea!
I've changed my code to this:
// Create a new ResourcIdentifier for the new LayerDefinition
ResourceIdentifier newResourceID = new ResourceIdentifier(layerName,
ResourceTypes.LayerDefinition, Connection.SessionID);
// Saving the LayerDefinition
Thanks Jackie,
I'll give it a try. I think that would be a good example for the
SampleWeb-Application in the SDK.
So, now I have no compiler errors anymore but now I have a problem in
getting a WebLayout from the server (UnvalidCastException):
IWebLayout2 webLayout =
Thanks again,
I wasn't aware of this.
A note for others who struggling with this:
Put the ModelSetup.Initialize() into the Application_Start method of your
global.asax :
void Application_Start(object sender, EventArgs e)
{
...
ModelSetup.Initialize();
}
Gunter
Hi,
I've created a textSymbol this way:
ITextSymbol textSymbol = layerDefinition.CreateDefaultTextSymbol();
I can't find any create-methode for AdvancedPlacement. So
textSymbol.AdvancedPlacement is null.
How do I create an object of type IAdvancedPlacement?
Gunter
--
View this message in
Hi,
my application allows it to make a new MapDefinition from the current
RuntimeMap. When trying to iterate over the RuntimeMapLayerCollection to
create the IMapLayer
mapDef.AddLayer(rtLayer.Group, rtLayer.Name, rtLayer.LayerDefinitionID);
an error occurs on layers that have a
OK,
now I've tested this piece of code I guessed it would be right, but it
doesn't work!
// Create a new ResourcIdentifier for the new LayerDefinition
ResourceIdentifier newResourceID = new ResourceIdentifier(layerName,
ResourceTypes.LayerDefinition,
Thanks Jackie,
it works now for me! Just one more question!
What is the method ForceRefresh() for? I see that it sets a flag
(NeedsRefresh) in the RuntimeMapLayer but I haven't any idea what it does.
Gunter
--
View this message in context:
Hi,
after changing the filter of a RuntimeMapLayer (create new RuntimeMapLayer
with a reference to a new LayerDefinition and replace the old
RuntimeMapLayer) the ToolTip of the features does not appear anymore. The
new filter is applied correctly!
It doesn't make any difference regardless of
Some more info:
when the features of the layer are polygons then the tooltip appears when
selecting a feature. When the features are points then I have to first make
a rectangular selection and then cklick the feature again to show the
tooltip. Very odd!
Gunter
--
View this message in context:
Hi,
I also see this behaviour in the SamplaWeb of the Maestro SDK when removing
and adding the parcels layer or when changing the parcels filter.
Can somone confirm this?
Gunter
--
View this message in context:
Hi Jackie,
thanks for your message! I changed my code (not much work) but got problems
because some properties of the IMapLayer (visible and group) weren't set
anymore.
Would it be possible to add these two lines to PlatformConnectionBase.cs
(line 1748-1752) to ensure that all properties from
Hi Jackie,
when creating the MaestroAPI from current trunk I can't create LocalNative
connection anymore. With MaestroAPI 4 from SDK there is no problem.
An Exception is thrown in line 253 of ConnectionProviderRegistry.cs because
_ctors doesn't contain the provider Maestro.LocalNative (which is
1 - 100 of 204 matches
Mail list logo