-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
configurable hash format #10
base: master
Are you sure you want to change the base?
Conversation
you should use L.Util.template that way you can do hash = L.Util.template(opts.path,{
lat:center.lat.toFixed(precision),
lng:center.lng.toFixed(precision),
z:zoom
}) |
I find myself needing this feature also. Any possibility to get this resolved and merged into the master any time soon? |
Can't you just override the |
Probably, I was going through an awkward coffeescript phase when I opened
|
sorry for the nonsensical comment 😳 , I replied to via email and thought you were talking about a different issue. |
I would like this function to be able to permalink certain layers in Layers.control. |
Is any of the current forks adding this capability? Doesn’t look like it, but I might have overlooked it. |
I'm using a leaflet map inside a backbone application, and I need the hash to keep my original values. I added a simple option here to allow a "path" option to be passed. Example: