-
Notifications
You must be signed in to change notification settings - Fork 9
GPVExternalMap
Peter Girard edited this page Apr 29, 2017
·
4 revisions
The GPV can launch external web mapping applications zoomed and centered on the same location as the current GPV map. This table defines the available external maps.
- DisplayName - The name of this external map as shown on the GPV (not null).
- URL - The URL for launching the external map website (not null). See URL Substitutions below for details on formating the URL.
- SequenceNo - A number specifying the display order of this external map on the pulldown list (not null).
- Active - Specifies whether this external map link is available for use, 1 for yes and 0 for no. If null, defaults to 0 (no).
The GPV will substitute particular character strings in the URL with data appropriate to the current map extent. For example this configured URL for Google Maps:
http://maps.google.com?ll={lat},{lon}&z={lev}
will be converted to a URL with substitutions like this for launching:
http://maps.google.com?ll=42.5346,-71.9334&z=16
The following substitution strings are supported:
- {lev} - zoom level (Google-compatible)
- {lat} - map center latitude
- {lon} - map center longitude
- {minlat} - map extent minimum latitude in decimal degrees
- {minlon} - map extent minimum longitude in decimal degrees
- {maxlat} - map extent maximum latitude in decimal degrees
- {maxlon} - map extent maximum longitude in decimal degrees
- {x} - map center X in the measurement projection's units
- {y} - map center Y in the measurement projection's units
- {minx} - map extent minimum X in the measurement projection's units
- {miny} - map extent minimum Y in the measurement projection's units
- {maxx} - map extent maximum X in the measurement projection's units
- {maxy} - map extent maximum Y in the measurement projection's units
- {xm} - map center X in the measurement projection converted to meters
- {ym} - map center Y in the measurement projection converted to meters
- {minxm} - map extent minimum X in the measurement projection converted to meters
- {minym} - map extent minimum Y in the measurement projection converted to meters
- {maxxm} - map extent maximum X in the measurement projection converted to meters
- {maxym} - map extent maximum Y in the measurement projection converted to meters
- {xft} - map center X in the measurement projection converted to feet
- {yft} - map center Y in the measurement projection converted to feet
- {minxft} - map extent minimum X in the measurement projection converted to feet
- {minyft} - map extent minimum Y in the measurement projection converted to feet
- {maxxft} - map extent maximum X in the measurement projection converted to feet
- {maxyft} - map extent maximum Y in the measurement projection converted to feet
See GPVSetting for details on the MeasureProjection setting.
-
Changed at 5.0Switched from map projection to measurement projection.