Contents Index
 
 

Introduction

What This Guide Covers

Essential Concepts

Preparing to Run the Examples

Recommended Directory Structure

Hello, Map – Basic Map Information

Web Layouts and MapGuide Server Pages

MapGuide Page Flow

Example Code

Running the Example

How This Page Works

Understanding Viewer Frames

Interactions Between Frames

MapGuide Viewer API

Calling the Viewer API from the Task Pane

Calling the Viewer API from the Script Frame

Calling the Viewer API with an Invoke Script Command

MapGuide Web API

Embedding a Viewer in Your Own Page

Session Management

Resources and Repositories

Library and Session

Maps

Understanding Services

Interacting With Layers

Overview of Layers

Basic Layer Properties

Layer Groups

Base Layer Groups

Layer Style

Layer Visibility

Example: Actual Visibility

Refresh and Zoom

Example

Enumerating Map Layers

Example

Manipulating Layers

Changing Basic Properties

Example

Changing Visibility

Working With Feature Data

Overview of Features

Querying Feature Data

Feature Readers

Selecting with the Web API

Basic Filters

Examples

selection filters spatial spatial filtersSpatial Filters

Creating Geometry Objects From Features

Examples

Example: Listing Selected Features

Active Selections

Selecting with the Viewer

Working With the Active Selection

Example: Listing Selected Parcels (AJAX Viewer)

Example: Listing Selected Parcels (DWF Viewer)

Setting the Active Selection With the Web API

Example: Setting the Active Selection

Modifying Maps and Layers

Introduction

Adding An Existing Layer To A Map

Creating Layers By Modifying XML

Another Way To Create Layers

Example - Creating A Layer That Uses Area Rules

Example - Using Line Rules

Example - Using Point Rules

Adding Layers To A Map

Making Changes Permanent