Developer's Guide - MapGuide Open Source - OSGeo
Developer's Guide - MapGuide Open Source - OSGeo
Developer's Guide - MapGuide Open Source - OSGeo
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20<br />
Understanding Services . . . . . . . . . . . . . . . . . . . . . . . . . . 21<br />
Chapter 2 Interacting With Layers . . . . . . . . . . . . . . . . . . . . . . 23<br />
Overview of Layers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24<br />
Basic Layer Properties . . . . . . . . . . . . . . . . . . . . . . . . 24<br />
Layer Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24<br />
Base Layer Groups . . . . . . . . . . . . . . . . . . . . . . . 25<br />
Layer Style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26<br />
Layer Visibility . . . . . . . . . . . . . . . . . . . . . . . . . . . 26<br />
Example: Actual Visibility . . . . . . . . . . . . . . . . . . . 26<br />
Refresh and Zoom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27<br />
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27<br />
Enumerating Map Layers . . . . . . . . . . . . . . . . . . . . . . . . . 28<br />
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28<br />
Manipulating Layers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29<br />
Changing Basic Properties . . . . . . . . . . . . . . . . . . . . . 29<br />
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29<br />
Changing Visibility . . . . . . . . . . . . . . . . . . . . . . . . . 30<br />
Chapter 3 Working With Feature Data . . . . . . . . . . . . . . . . . . . . 33<br />
Overview of Features . . . . . . . . . . . . . . . . . . . . . . . . . . . 34<br />
Querying Feature Data . . . . . . . . . . . . . . . . . . . . . . . . . . 35<br />
Feature Readers . . . . . . . . . . . . . . . . . . . . . . . . . . . 35<br />
Selecting with the Web API . . . . . . . . . . . . . . . . . . . . . 35<br />
Basic Filters . . . . . . . . . . . . . . . . . . . . . . . . . . 36<br />
Spatial Filters . . . . . . . . . . . . . . . . . . . . . . . . . 37<br />
Example: Listing Selected Features . . . . . . . . . . . . . . . . . 39<br />
Active Selections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42<br />
Selecting with the Viewer . . . . . . . . . . . . . . . . . . . . . . 42<br />
Passing Viewer Information to the Web Server . . . . . . . . . . . 43<br />
Additional Parameters to an Invoke URL Command . . . . . 44<br />
Passing Parameters From an Invoke Script command . . . . 44<br />
Passing Parameters From the Task Pane Frame . . . . . . . . 45<br />
Working With the Active Selection . . . . . . . . . . . . . . . . . 46<br />
Example: Listing Selected Parcels (AJAX Viewer) . . . . . . . 47<br />
Example: Listing Selected Parcels (DWF Viewer) . . . . . . . 49<br />
Setting the Active Selection With the Web API . . . . . . . . . . . 50<br />
Example: Setting the Active Selection . . . . . . . . . . . . . . . 50<br />
Chapter 4 Modifying Maps and Layers . . . . . . . . . . . . . . . . . . . . 55<br />
iv | Contents<br />
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56<br />
Adding An Existing Layer To A Map . . . . . . . . . . . . . . . . . . . 56<br />
Creating Layers By Modifying XML . . . . . . . . . . . . . . . . . . . . 56