August 2014
Intermediate to advanced
180 pages
3h 41m
English
When consuming a service, you usually load the entire layer. Sometimes, you may only want a subset of the layer data. Using a query will allow you to load only that subset that you are interested in. In this example, you will query a graffiti layer for open and closed cases. To create the map, follow these steps:
div> query using CSS:<style>
#query {
position: absolute;
top: 10px;
right: 10px;
z-index: 10;
background: white;
padding: 1em;
}
#query select {
font-size: 16px;
}
</style>Open and Closed as options:<label> Status <select id="caseStatus"> <option value=''>Clear ...
Read now
Unlock full access