{"action":"created","issue":{"url":"https://api.github.com/repos/openlayers/ol3/issues/4306","labels_url":"https://api.github.com/repos/openlayers/ol3/issues/4306/labels{/name}","comments_url":"https://api.github.com/repos/openlayers/ol3/issues/4306/comments","events_url":"https://api.github.com/repos/openlayers/ol3/issues/4306/events","html_url":"https://github.com/openlayers/ol3/pull/4306","id":112843271,"number":4306,"title":"updates to kml to render labels pulled from names if the geometry is a point","user":{"login":"tamarmot","id":5769968,"avatar_url":"https://avatars.githubusercontent.com/u/5769968?v=3","gravatar_id":"","url":"https://api.github.com/users/tamarmot","html_url":"https://github.com/tamarmot","followers_url":"https://api.github.com/users/tamarmot/followers","following_url":"https://api.github.com/users/tamarmot/following{/other_user}","gists_url":"https://api.github.com/users/tamarmot/gists{/gist_id}","starred_url":"https://api.github.com/users/tamarmot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamarmot/subscriptions","organizations_url":"https://api.github.com/users/tamarmot/orgs","repos_url":"https://api.github.com/users/tamarmot/repos","events_url":"https://api.github.com/users/tamarmot/events{/privacy}","received_events_url":"https://api.github.com/users/tamarmot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-22T16:41:01Z","updated_at":"2015-10-22T16:42:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openlayers/ol3/pulls/4306","html_url":"https://github.com/openlayers/ol3/pull/4306","diff_url":"https://github.com/openlayers/ol3/pull/4306.diff","patch_url":"https://github.com/openlayers/ol3/pull/4306.patch"},"body":"I tried to replicate Google Earth's behavior, which is to render labels based on names for placemarks which are points.  OpenLayers now does this, either using the found style, default style, or custom style.  My new code creates secondary text style which holds the unique text from the name for each placemark.\r\n\r\nThis only happens if the placemark has a point geometry and if the name is not empty.\r\n\r\nSample screenshot from OpenLayers:\r\n![screen shot 2015-10-22 at 9 38 51 am](https://cloud.githubusercontent.com/assets/5769968/10671697/f5069744-78a0-11e5-849c-13f8fb478a56.png)\r\n"},"comment":{"url":"https://api.github.com/repos/openlayers/ol3/issues/comments/150283931","html_url":"https://github.com/openlayers/ol3/pull/4306#issuecomment-150283931","issue_url":"https://api.github.com/repos/openlayers/ol3/issues/4306","id":150283931,"user":{"login":"tamarmot","id":5769968,"avatar_url":"https://avatars.githubusercontent.com/u/5769968?v=3","gravatar_id":"","url":"https://api.github.com/users/tamarmot","html_url":"https://github.com/tamarmot","followers_url":"https://api.github.com/users/tamarmot/followers","following_url":"https://api.github.com/users/tamarmot/following{/other_user}","gists_url":"https://api.github.com/users/tamarmot/gists{/gist_id}","starred_url":"https://api.github.com/users/tamarmot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamarmot/subscriptions","organizations_url":"https://api.github.com/users/tamarmot/orgs","repos_url":"https://api.github.com/users/tamarmot/repos","events_url":"https://api.github.com/users/tamarmot/events{/privacy}","received_events_url":"https://api.github.com/users/tamarmot/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T16:42:22Z","updated_at":"2015-10-22T16:42:22Z","body":"This is for issue https://github.com/openlayers/ol3/issues/4305"}}