{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3792","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-js","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3792/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3792/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3792/events","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/3792","id":195380012,"number":3792,"title":"HTML-GeoJson points?","user":{"login":"weatherc","id":24232647,"avatar_url":"https://avatars.githubusercontent.com/u/24232647?v=3","gravatar_id":"","url":"https://api.github.com/users/weatherc","html_url":"https://github.com/weatherc","followers_url":"https://api.github.com/users/weatherc/followers","following_url":"https://api.github.com/users/weatherc/following{/other_user}","gists_url":"https://api.github.com/users/weatherc/gists{/gist_id}","starred_url":"https://api.github.com/users/weatherc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weatherc/subscriptions","organizations_url":"https://api.github.com/users/weatherc/orgs","repos_url":"https://api.github.com/users/weatherc/repos","events_url":"https://api.github.com/users/weatherc/events{/privacy}","received_events_url":"https://api.github.com/users/weatherc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-13T21:56:12Z","updated_at":"2016-12-15T04:04:00Z","closed_at":"2016-12-13T22:11:53Z","body":"Are there a way to show html-markers with GeoJson in Mapbox GL JS? \r\n\r\nTryed to use this example: https://www.mapbox.com/mapbox-gl-js/example/geojson-markers/ but did not found any info in the docs about how/if it is possible to build custom html-based markers. \r\n\r\nAlso, is it possible to set the margin between the shown points? \r\nI don't wan't clustering as its meant to show more markers (placenames) on closer zooms. That seems generally to work as i want but i want to increase the margin. The placeames are connected to the data in the GeoJson so i can't use the placenames fin the mapdata (it should show a number + placename but only show placenames for locations with the number).\r\n\r\nI have it woking with leaflet-mapbox-gl-js but thats a bit slow so it should want to use native mapbox-gl.js: https://www.nordicweather.net/test/testmap3_2.php"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/comments/267233351","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/3792#issuecomment-267233351","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3792","id":267233351,"user":{"login":"mollymerp","id":2425307,"avatar_url":"https://avatars.githubusercontent.com/u/2425307?v=3","gravatar_id":"","url":"https://api.github.com/users/mollymerp","html_url":"https://github.com/mollymerp","followers_url":"https://api.github.com/users/mollymerp/followers","following_url":"https://api.github.com/users/mollymerp/following{/other_user}","gists_url":"https://api.github.com/users/mollymerp/gists{/gist_id}","starred_url":"https://api.github.com/users/mollymerp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mollymerp/subscriptions","organizations_url":"https://api.github.com/users/mollymerp/orgs","repos_url":"https://api.github.com/users/mollymerp/repos","events_url":"https://api.github.com/users/mollymerp/events{/privacy}","received_events_url":"https://api.github.com/users/mollymerp/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T04:04:00Z","updated_at":"2016-12-15T04:04:00Z","body":"@weatherc we don't currently implement collision detection for HTML `Marker`s, and you can't set custom HTML for the markers in the example you linked because those are rendered in GL and not part of the HTML DOM. You can override the margins/padding for the HTML `Marker`s in your site's css though. "}}
{"actor":{"display_login":"mollymerp"}}