[mapguide-users] Show help on a specific feature when selected
rrrazdan at gmail.com
Thu Apr 29 06:17:16 EDT 2010
I think what you are looking for is the functionality in
http://data.mapguide.com/mapguide/devguide/index.php -- Map Layers
Full source is at
$resourceService = $siteConnection->
$map = new MgMap();
$layers = $map->GetLayers();
for ($i = 0; $i < $count; $i++)
$layer = $layers->GetItem($i);
$lname = $layer->GetName();
//insert layer specific code here
On Thu, Apr 29, 2010 at 3:34 PM, shepwaydistrictcouncil
<neil.thompson at shepway.gov.uk> wrote:
> Is there any way I can show help information based only on what layer (s)
> the user has selected?
> I would like for example when the user clicks on my "Tree Preservation
> Orders" layer to then perhaps show help specific to that layer in the right
> hand pane?
> For example the text : "Although this layer displays Tree Preservation
> Orders it does not necessarily mean that trees outside of the order are not
> protected by a different order. Please contact us for clarification on your
> tree before commencing work."
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Show-help-on-a-specific-feature-when-selected-tp4979242p4979242.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
More information about the mapguide-users