WME GIS Buttons

Displays the locality of the current map location and provides links to open GIS if available

< Feedback on WME GIS Buttons

Review: Good - script works

§
Posted: 13/05/2020

Zoom vs Scale

A lot of municipalities seem to be using Geocortex essentials, which, as far as I can tell, doesn't take a zoom parameter, but a scale in the URL eg. https://maps.monroecounty.gov/Html5Viewer2/index.html?viewer=Parcel_Viewer&center=,,4326&scale=1000

Could we add a scale variable or some similar way, so instead of adding 12 to the WME map zoomlevel, we convert to the appropriate scale? Geocortex only has a limited scale set, but given a number, it will round to the nearest legal scale number. (the smallest scale is 1:500, so today, if you try and pass 'zoom' into the scale spot, it will round to a 1:500 scale)

Thanks!

Philistine11Author
§
Posted: 13/05/2020

Yes, that's definitely something that can be done, along with other optional parameters. Unfortunately I haven't had the time to work on this script recently, but when I do get the time, additional parameters will be the first thing I will work on.

§
Posted: 14/05/2020

Sounds great.. Thanks! In the meanwhile I'll just work on creating a table of WME zoom levels to 1:n scale. It's not quite a linear relationship, more like a parabolic one - so I'll try try and figure something that could be easily programmed.

§
Posted: 20/05/2020

Probably something like: let zoomtable=[225000,115000,57000,28000,14000,7000,2000,1000,500,250,100]; let scale=zoomtable[W.map.getZoom().toString()];

Post reply

Sign in to post a reply.