Latitude / Longitude Grid Lines (Graticule)

Hello all,

I have seen some discussion about this going back to 2014 and found the addon Graticule.js by Thomas Lefort. I wasn’t sure how well that works out of the box because it seems the live site it links to is broken. Anyway, I improved upon that (hopefully) for my own project and thought I would share the results in a sandcastle here.

I hope this is useful to anyone that needs this for their project.

Cheers!

1 Like

Looks awesome! Thank you for sharing.

We also have a an example in our Sandcastle repository that you can check out here.

This looks great! Would you consider making a quick repo for it somewhere, ideally including a license? I use GridImageryProvider today, but without labels on the lines they’re not nearly as useful.