[mapguide-users] MapGuide 3.1 Add or edit the map on Runtime

2017-12-20 Thread Mark Volz (LeapCAD)
Hi, For those who are upgrading from a 2.x version of MapGuide and can no longer add / edit layers or basically manipulate the map during runtime please read this post around the changes made to the mgmap constructor.

Re: [mapguide-users] Mapguide 2.6 and 3.0 Can't run Mapadmin or mapagent?

2015-10-22 Thread Mark Volz (LeapCAD)
Hi, Have you confirmed that php & the Mapguide/php integration has been configured correctly on IIS. The simplest way of doing this is to create a php file in the www folder of your mapguide installation that contains the following code; Once that has been created op

Re: [mapguide-users] Mapguide 3.0 - Composite style not displaying in fusion legend

2015-09-13 Thread Mark Volz (LeapCAD)
All, Any thoughts? I have done some further investigations myself and found; 1) legend works fine in AJAX for simple and composites 2) if I preview the layers or maps in either maestro or studio then they work fine 3) it is only composite layers that do not display correct in the legend, they

[mapguide-users] Mapguide 3.0 - Composite style not displaying in fusion legend

2015-09-07 Thread Mark Volz (LeapCAD)
All, I've notice an issue in the fusion legend widget after upgrading a site to 3.0. If I have a point, line or polygon style on a vector layer then the relevant style is displayed correctly in the legend for both the Fusion and AJAX viewers. However if I have a composite style then only the

Re: [mapguide-users] Mapguide 3.0 - Composite style not displaying in fusion legend

2015-09-07 Thread Mark Volz (LeapCAD)
Jackie, Yes the composite styles do have a value set in the runtimemap\layer\ScaleRange\FeatureStyle\rule\icon Interestingly the values are different between 2 composite, so it Is not just picking up a default style. Below is a copy of the JSON;

[mapguide-users] WFS issues - index out of bounds

2015-09-02 Thread Mark Volz (LeapCAD)
Evening All, I'm using MapGuide 2.6 to produce a WFS output. Generally everything is working fine, however for 2 layers (out of 30) I am receiving the following error; An exception occurred in FDO component. Error occurred in Feature Source (Library:// /WFS.FeatureSource): Item index out of

Re: [mapguide-users] WFS issues - index out of bounds

2015-09-02 Thread Mark Volz (LeapCAD)
Hi all, Please don't worry about this one. I've found the issue. The problem only occurs when we have 2 different geometry types in the 1 response, so the resolution I'll be implementing is 2 have separate data connection for each geometry type. Thanks Mark

Re: [mapguide-users] mapguide-rest feedback

2015-01-20 Thread Mark Volz (LeapCAD)
Hi Gordon, Yes, JQuery + Mapguide = very cool functionality. To order your results use the following parameters orderBy=column name orderOption=ascending or descending so in your example try this; $.ajax({ url:

[mapguide-users] null label value

2014-11-13 Thread Mark Volz (LeapCAD)
All, I know this is an old issue but I'm wondering if there is a plan to fix it (the issue was introduced in 2.4). Process: You have layer which has a display label linked to a field in the data, for this email let's call it label_text. Prior to 2.4 if label_text = null (value not

Re: [mapguide-users] How to update FDO provider

2014-11-04 Thread Mark Volz (LeapCAD)
Mal, I tried it myself and have found a couple of problem The windows link in http://trac.osgeo.org/mapguide/wiki/maestro/UserGuides/UpdatingFDOInstallati on actually provides you with 3.3.1 versions of the FDO's ... for mapguide 2.6 you need version 3.8.x FDO's As per Crispin's response why do

Re: [mapguide-users] Stop services

2014-11-03 Thread Mark Volz (LeapCAD)
Mal, You need to have administrator or at least power user privileges to restart services on a windows machine. The other option is to ask your system administrator to give you access to restart the MapGuide and apache or IIS (depending on your install) services on your MG server. This can be

Re: [mapguide-users] Stop services

2014-11-03 Thread Mark Volz (LeapCAD)
Mal, A couple things to do so we can help you; 1) Check that the MapGuide server service is running. 2) Look in MapGuide install path\server\logs\error.log see what the latest entry is (or simply post a sample of any repeated errors to the group). That should help diagnose the issue. 3) Can you

Re: [mapguide-users] sql filters on map load

2014-10-31 Thread Mark Volz (LeapCAD)
Further to Gordon's response, if you look at http://localhost/mapguide/help/devguide/index.html (on the server that you have installed MapGuide OS on) and go to the section called modifying maps and layers you will see some examples and a work through of what the code is doing. Mark

Re: [mapguide-users] mapguide-rest feedback

2014-10-23 Thread Mark Volz (LeapCAD)
Jackie, Firstly I would just like to say it's a very powerful tool kit. I've implemented on a number of my clients sites. I've used it in a couple of different ways; Option 1 I have a containing page using jquery/dojo objects reading mapguide rest url's for dynamic content and an iframe for the

Re: [mapguide-users] MapAgent SetResource in a batch

2014-09-22 Thread Mark Volz (LeapCAD)
Hi, There are a couple of ways of doing this. Below is some php code to get the definition of a layer, modify it and then updated the new definition back into library. With a simple modification you could change it so it reads the new definition from a file (just replace the $updated_string with

Re: [mapguide-users] MapGuid clustering

2014-08-11 Thread Mark Volz (LeapCAD)
It really depends on how you are using Mapguide as to which option would be the best. I’ll outline the 2 methods I have used in the past but of course there are multiple ways of dealing with the issue. Option 1 – out of the box approach with a single, outward facing, server and a number of

Re: [mapguide-users] Mapguide opensource fdo to GE smallworld

2014-06-27 Thread Mark Volz (LeapCAD)
Hi, I've implemented the FDO for Smallworld developed by Spatial Business systems. It works very well and takes advantages of TiCS, ACE's, alternatives, multiple worlds, and all those other acronyms concepts that are unique to Smallworld. Let me know if you need more info (and yes it works in