You can save to either repository, depending on what resourceIdentifier
you give.
The class ResourceIdentifier can help you construct/manipulate a
ResourceIdentifier,
if you find it annoying to work with strings.
As for the "live map", you will likely need to be aware of the
difference between
I agree that this would be nice to have as a default.
There exists an implementation here:
http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/CustomCursors
Could you update that one to better match your implementation?
The easiest way to get this into the next release, is to make it in
"
Instead of re-posting the original question,
could you try to explain what parts of my previous reply
that are unclear or wrong?
http://www.nabble.com/How-to-Load-Runtime-map-in-mapviewerajax-to20704038.html#a20769349
Regards, Kenneth Skovhede, GEOGRAF A/S
padmini godavarthi skrev:
Hi ,
iam
I solved it. The problem was that MG Studio shows that the ID field is
of type "Double". In the DBF file (as this is a shp Feature source) the
ID field is declared as N,11,0
So I substituted *MgDoubleProperty *with* **MgInt32Property* and it
works now.
Stefan Dalakov
Kenneth Skovhede, GEOGRA
To build a map, you must have all the components:
1. FeatureSource, references data
2. LayerDefinition, references a FeatureSource
3. MapDefinition, references multiple LayerDefinitions
4. WebLayout, references a MapDefinition
All these items must be in a repository (either Library or Session),
Howdy,
>From the Event log:
Faulting application mgserver.exe, version 2.0.2.3011, faulting module
KingOracleProvider.dll, version 0.8.5.0, fault address 0x0005c079.
>From the Error.log:
StackTrace:
- MgMappingUtil.StylizeLayers line 786 file
d:\build\mapguide_open_source_v2.0\build_30.11\mgde
I just bumped that bug to critical after some reflection as that is a
serious potential dataloss bug IMHO
On Tue, Dec 2, 2008 at 8:08 AM, Kenneth Skovhede, GEOGRAF A/S
<[EMAIL PROTECTED]> wrote:
> You could be affected by this bug:
> http://trac.osgeo.org/mapguide/ticket/649
>
> Otherwise, try to
Hi,
Thanku very much for ur help
i tried this code
but i got an error in the line
Dim tempid as ResourceIdentifier = new ResourceIdentifier(Guid.NewGuid(),
OSGeo.MapGuide.MaestroAPI.ResourceTypes.WebLayout, con.SessionID)
because of this Guid.NewGuid()
1) Actually what is this?
2) Which paramat
Its a function that creates a GUID (Globally Unique ID).
It creates a string like "xcsdfasd-sdfasdf-dsdfasf" but ensures that it
is mathematically
certain that you will not get duplicates, even if you call it multiple
times on multiple machines.
For the example I sent, you can replace it with an
Thats works great.
I had written a web app which allows a user to completely customise the
appearances of layers. Behind the scenes it just edits the xml but I suspect
the MaestroAPI could do this all for me without me touching the xml. I need
to look into it more as I need to be able to save to
Hi,
Thanks for u r reply
actually i wrote the code as
Dim host As New Uri("http://localhost/mapguide/mapagent/mapagent.fcgi";)
Dim conn As New HttpServerConnection(host, "Administrator", "admin",
"en", True)
Dim res As New ResourceIdentifier("Filebased data/Maps/mapdata",
Re
Here is a small patch to make the map cursor reflect the active toolbar
action.
function UpdateMapActionCursor(action)
{
var strCursor = "auto";
switch(action)
{
case 1: /*pan*/strCursor = "url('../stdicons/icon_pan.cur'),
pointer";break;
case 9: /*Zoom window*/st
It is something stupid, but I cannot spot it...
Everything works if I omit the bold part of the code :
function MakeLine($name, $x0, $y0 , $x1, $y1)
{
$propertyCollection = new MgPropertyCollection();
*$cntr = (double) 11.0 ;
$idProperty = new MgDoubleProperty("ID",$cntr);
$propert
Thanks for the tip about Maestro chm file. I had the same problems until
I 'Unblocked' the file just now.!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of cagray
Sent: Tuesday, December 02, 2008 1:29 AM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapg
Could it be that "ID" is the primary key, and if you insert two features
with ID 11,
it breaks? Or that the ID is auto-assigned, and thus not assignable from
MapGuide/FDO?
btw, things tend to work better with MapGuide if your primary key is an
integer.
Regards, Kenneth Skovhede, GEOGRAF A/S
I forgot to save the weblayout in the code below :(
Updated version is:
'Setup connection
Dim host As New Uri("http://localhost/mapguide/mapagent/mapagent.fcgi";)
Dim conn As New HttpServerConnection(host, "Administrator", "admin",
"en", True)
'You have to change the string below to point at
I have now added a small note on the page hinting the solution.
Regards, Kenneth Skovhede, GEOGRAF A/S
Greenhough, Jamie skrev:
Thanks for the tip about Maestro chm file. I had the same problems until
I 'Unblocked' the file just now.!
-Original Message-
From: [EMAIL PROTECTED]
[mailt
Hi ,
iam using mapguide open source 2.0( with .Net 2.0 + IIS 5.1)
Iam using dotnet viewer sample while running the application i observed that
the layout path given in the application.
as
String webLayout =
"Library://Samples/Sheboygan/Layouts/SheboyganAspTiled.WebLayout";
it works but now i
application.
>>>>>
>>>>> as
>>>>>
>>>>> String webLayout =
>>>>> "Library://Samples/Sheboygan/Layouts/SheboyganAspTiled.WebLayout";
>>>>>
>>>>> it works but now i want to create
mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
View this message in context:
http://www.nabble.com/XML-Parser-error-for-Feature-Sources-tp20770245p20
787959.html
Sent from the MapGuide Users mailing list archive at Nabble.co
f this
Email is prohibited. Please notify us of the error in communication by
return email and destroy all copies of this Email. Thank you.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
__ Information from ESET NOD32 Anti
I like to set it up so that people can upload shapefiles from their computer
to my mapguide map and have it immediately add it as a layer to my map and
show up on screen immediately. Does anybody know how to implement this
functionality? Or know where to download one that works?
I have inherite
We've attacked this problem here a little differently.
The idea was to set up a location (per data custodian) to overwrite a
previously set up and configured SHP file for web publication.
Basically we go to the trouble of setting up things ahead of time for
stylization and symbology and once th
Hey Kevin, I checked out your site. I am working on very similar
functionality. My users need to be able to ADD, DELETE, and EDIT
(stylize) layers.
I used the Maestro API to implement the ADD functionality. See one of my
previous messages for the code snippet here:
http://www.nabble.com/DWGLoadPro
May be Ya.. So .. How i wanna make overview map in ajaxviewer?
Then How i wanna create *.mwf ??
--
View this message in context:
http://www.nabble.com/Overview-Map-on-geomapgis-tp20765927p20804384.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
hai all..
Anyone used Geomap GIS Publishing?? How do it on Mapguide Open Source?? plz
teach me how?? thanx
--
View this message in context:
http://www.nabble.com/Geomap-GIS-Publishing-tp20804421p20804421.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_
Has anyone got any examples of shortest route, ie finding the neareast end
point of a line network then highlighting the next one that is on route to
the destination, basically like whereis or something?
or has anyone got any idaes on how to code it?
I will be able to create the line network it
27 matches
Mail list logo