Load profile content for selected profile
This commit is contained in:
parent
433d4c4b85
commit
93d0b7f7df
7 changed files with 109 additions and 10 deletions
|
|
@ -87,12 +87,14 @@ L.Control.Permalink.include({
|
|||
var router = this.options.router,
|
||||
routing = this.options.routing,
|
||||
routingOptions = this.options.routingOptions,
|
||||
nogos = this.options.nogos;
|
||||
nogos = this.options.nogos,
|
||||
profile = this.options.profile;
|
||||
|
||||
var opts = router.parseUrlParams(e.params);
|
||||
router.setOptions(opts);
|
||||
routingOptions.setOptions(opts);
|
||||
nogos.setOptions(opts);
|
||||
profile.update(opts);
|
||||
|
||||
if (opts.lonlats) {
|
||||
routing.draw(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue