-
Notifications
You must be signed in to change notification settings - Fork 49
URL parameters in Hajk
Jacob Wodzyński edited this page Jan 13, 2025
·
1 revision
Here's a quick overview of the URL query string parameters that Hajk uses:
Example of the string as shown in the browser address field:
#m=ext&x=110600&y=6283796&z=2&l=58%2C100&p=layerswitcher
Explanation:
-
#
: the list of parameters always starts with this character -
m
: name of the map file (as displayed in Admin) -
x
andy
: center coordinates in the projection of the map (refer to map configuration in Admin to determine your choice of projection) -
z
: zoom level (an integer between min and max zoom as specified in Admin) -
l
: list of IDs of layers and group layers. IDs are delimited by a comma which is URL encoded (hence%2C
) -
p
: name of currently active tool(s) -
q
: loads Hajk with the search tool active and the value ofq
provided as the search term