Q: Can I use URL parameters when launching an application, for instance to open a map at a certain location?
A: Yes, LocalView Fusion supports a range of URL parameters, some of which are specific to certain templates. These are documented in the Integrators Guide
For instance the following URL would open a Navigator, WebPublisher or Embeddable Map application at the specified x, y location (351000, 312000) and at the chosen scale (1:2500). 27700 specifies that the data is in British National Grid:
You can also use parameters to specify which layers are to be shown in the map, highlight a location with a particular symbol, size, colour etc, and zoom to a identified feature . There are a number of different examples in the Integrators Guide.
Some templates, such as My Location and Routes to School, support a limited set of URL parameters. Parameters can be used to launch a My Locatation application to display a specific address in the results page, as follows:
X, Y Coordinate location (lvfX, lvfY) – this displays the nearest address to the specified location
A valid address match string (lvfMatchString) – an address matching the string supplied is displayed
e.g. example/maps/Sites/MySite/?lvfMatchString=5 burnham street
A valid locator hub LOCATOR_DATASET_FAMILY_ID (lvfFID) – an address matching the specified identifier is displayed