#StackBounty: #parameters #get #mapkit MapKit's 'style' parameter in the request

Bounty: 50

I’m debugging one application and I found a strange parameter in the requests
The request is something like :

gspe15.ls.apple.com/tile.vf?flags=1&style=13&size=2&scale=0&v=234&z=14&x=12205&y=1853&checksum=1&sid=&accessKey=

but I’m interested particularly in the “style” parameter. What means that parameter, where I can find more info about the values that can be passed ?


Get this bounty!!!

Fetch GET parameters in JS/jQuery

If you have a URL with some GET parameters as follows:

www.test.com/t.html?a=1&b=3&c=m2-m3-m4-m5 

and need to get the values of each parameters then below is a nifty piece of code solving your requirement.

JavaScript has nothing built in for handling query string parameters.

You could access location.search, which would give you from the ? character on to the end of the URL or the start of the fragment identifier (#foo), whichever comes first.

You can then access QueryString.c