QuickZoom Class
The QuickZoom class handles zooming in the map based on province, city, or postal code. These zoom in services rely on web services which return extent values based the user-entered province, city, or postal code
Imports RAMP Modules:
Item Index
Methods
changeExtent
(
private
-
url
-
query
Change the extent of the map based on the extent data retrieved from the given url
populateCityDropDown
(
private
-
prov
Populates the city dropdown menu with the cities in the selected province.
Parameters:
-
prov
String
populateDropDown
(
-
url
-
select
-
query
-
mapFunc
Populate the given dropdown with data from the given url.
validatePostalCode
(
private
-
fsa
Returns true if the given postal code is valid, false otherwise.
Parameters:
-
fsa
Stringfsa