+
Skip to content

Map Clusters per country (number of dishes), support country deeplinks #78

@tillkuhn

Description

@tillkuhn

Feature
Map should show centers of countries so dishes can deeplink into a MapLocation based on its (iso-)code

URL References

// add markers to map
geojson.features.forEach(function (marker) {
// create a DOM element for the marker
var el = document.createElement('div');
el.className = 'marker';
el.style.backgroundImage =
'url(https://placekitten.com/g/' +
marker.properties.iconSize.join('/') +
'/)';
el.style.width = marker.properties.iconSize[0] + 'px';
el.style.height = marker.properties.iconSize[1] + 'px';
el.style.backgroundSize = '100%';

Metadata

Metadata

Assignees

Labels

uiIssue related to user interface

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载