Skip to content

Adds ability to wrap geometry subtypes with span and a elements + a element functionality within coordinates #383

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

Merged
merged 18 commits into from
Apr 8, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix JSHints
  • Loading branch information
ahmadayubi committed Apr 1, 2021
commit 4d3b49fe2fdcfafbc9fff4a9055f37d588b68e8d
2 changes: 1 addition & 1 deletion src/mapml/features/feature.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export var Feature = L.Path.extend({
}, this);
L.DomEvent.on(path, "keypress", (e) => {
if (e.keyCode === 13 || e.keyCode === 32)
this._handleLink(link, linkType)
this._handleLink(link, linkType);
}, this);
},

Expand Down
2 changes: 1 addition & 1 deletion src/mapml/features/featureRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export var FeatureRenderer = L.SVG.extend({
layer.group.appendChild(p.path);
if (interactive){
if(layer.options.link) layer.attachLinkHandler(p.path, layer.options.link, layer.options.linkType);
layer.addInteractiveTarget(p.path)
layer.addInteractiveTarget(p.path);
}

if(!outlineAdded && layer.pixelOutline) {
Expand Down