Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Launching Weave using URL parameters

It’s possible to open the Weave client with additional URL parameters to customise its startup.

You can load the Weave client and ask it to perform a search immediately using the search URL parameter.
The value of the parameter should be the id of the search to execute, and the rest of the URL parameters are the values that should be passed to the search.

...

Additionally, you can include a minScale parameter, to ensure that the client does not zoom in past the minimum scale you specify as the parameter.

Mapping

You can set the initial map extent, either by specifying an x and y location and a scale, or by specifying minx, miny, maxx and maxy values.
Additionally, by specifying a crs parameter these values can be in a different coordinate system from the default projection of the client.
Also, it's possible with the x and y version to set a parameter, marker=true, to specify that a marker should be placed at the x, y location.
Finally, with the minx, miny, maxx and maxy version you can also specify a minScale to ensure that the map extent is not zoomed in too far.

...