{"action":"closed","number":4306,"pull_request":{"url":"https://api.github.com/repos/openlayers/ol3/pulls/4306","id":48482110,"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","issue_url":"https://api.github.com/repos/openlayers/ol3/issues/4306","number":4306,"state":"closed","locked":false,"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},"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","created_at":"2015-10-22T16:41:01Z","updated_at":"2015-10-25T18:49:09Z","closed_at":"2015-10-25T18:49:09Z","merged_at":null,"merge_commit_sha":"8b090baf2eadd68a675dc0b90ad69fb7720b7a8a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openlayers/ol3/pulls/4306/commits","review_comments_url":"https://api.github.com/repos/openlayers/ol3/pulls/4306/comments","review_comment_url":"https://api.github.com/repos/openlayers/ol3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openlayers/ol3/issues/4306/comments","statuses_url":"https://api.github.com/repos/openlayers/ol3/statuses/a737970d7b9f8fee89e95fe94cb6253e9530db18","head":{"label":"tamarmot:master","ref":"master","sha":"a737970d7b9f8fee89e95fe94cb6253e9530db18","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},"repo":{"id":44702397,"name":"ol3","full_name":"tamarmot/ol3","owner":{"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},"private":false,"html_url":"https://github.com/tamarmot/ol3","description":"OpenLayers 3","fork":true,"url":"https://api.github.com/repos/tamarmot/ol3","forks_url":"https://api.github.com/repos/tamarmot/ol3/forks","keys_url":"https://api.github.com/repos/tamarmot/ol3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tamarmot/ol3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tamarmot/ol3/teams","hooks_url":"https://api.github.com/repos/tamarmot/ol3/hooks","issue_events_url":"https://api.github.com/repos/tamarmot/ol3/issues/events{/number}","events_url":"https://api.github.com/repos/tamarmot/ol3/events","assignees_url":"https://api.github.com/repos/tamarmot/ol3/assignees{/user}","branches_url":"https://api.github.com/repos/tamarmot/ol3/branches{/branch}","tags_url":"https://api.github.com/repos/tamarmot/ol3/tags","blobs_url":"https://api.github.com/repos/tamarmot/ol3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tamarmot/ol3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tamarmot/ol3/git/refs{/sha}","trees_url":"https://api.github.com/repos/tamarmot/ol3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tamarmot/ol3/statuses/{sha}","languages_url":"https://api.github.com/repos/tamarmot/ol3/languages","stargazers_url":"https://api.github.com/repos/tamarmot/ol3/stargazers","contributors_url":"https://api.github.com/repos/tamarmot/ol3/contributors","subscribers_url":"https://api.github.com/repos/tamarmot/ol3/subscribers","subscription_url":"https://api.github.com/repos/tamarmot/ol3/subscription","commits_url":"https://api.github.com/repos/tamarmot/ol3/commits{/sha}","git_commits_url":"https://api.github.com/repos/tamarmot/ol3/git/commits{/sha}","comments_url":"https://api.github.com/repos/tamarmot/ol3/comments{/number}","issue_comment_url":"https://api.github.com/repos/tamarmot/ol3/issues/comments{/number}","contents_url":"https://api.github.com/repos/tamarmot/ol3/contents/{+path}","compare_url":"https://api.github.com/repos/tamarmot/ol3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tamarmot/ol3/merges","archive_url":"https://api.github.com/repos/tamarmot/ol3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tamarmot/ol3/downloads","issues_url":"https://api.github.com/repos/tamarmot/ol3/issues{/number}","pulls_url":"https://api.github.com/repos/tamarmot/ol3/pulls{/number}","milestones_url":"https://api.github.com/repos/tamarmot/ol3/milestones{/number}","notifications_url":"https://api.github.com/repos/tamarmot/ol3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tamarmot/ol3/labels{/name}","releases_url":"https://api.github.com/repos/tamarmot/ol3/releases{/id}","created_at":"2015-10-21T20:29:31Z","updated_at":"2015-10-21T20:29:39Z","pushed_at":"2015-10-24T16:15:46Z","git_url":"git://github.com/tamarmot/ol3.git","ssh_url":"git@github.com:tamarmot/ol3.git","clone_url":"https://github.com/tamarmot/ol3.git","svn_url":"https://github.com/tamarmot/ol3","homepage":"http://openlayers.org","size":53041,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openlayers:master","ref":"master","sha":"b27acb8d5e63a0363026d5e58c37ae38ba9a3192","user":{"login":"openlayers","id":240579,"avatar_url":"https://avatars.githubusercontent.com/u/240579?v=3","gravatar_id":"","url":"https://api.github.com/users/openlayers","html_url":"https://github.com/openlayers","followers_url":"https://api.github.com/users/openlayers/followers","following_url":"https://api.github.com/users/openlayers/following{/other_user}","gists_url":"https://api.github.com/users/openlayers/gists{/gist_id}","starred_url":"https://api.github.com/users/openlayers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openlayers/subscriptions","organizations_url":"https://api.github.com/users/openlayers/orgs","repos_url":"https://api.github.com/users/openlayers/repos","events_url":"https://api.github.com/users/openlayers/events{/privacy}","received_events_url":"https://api.github.com/users/openlayers/received_events","type":"Organization","site_admin":false},"repo":{"id":4723248,"name":"ol3","full_name":"openlayers/ol3","owner":{"login":"openlayers","id":240579,"avatar_url":"https://avatars.githubusercontent.com/u/240579?v=3","gravatar_id":"","url":"https://api.github.com/users/openlayers","html_url":"https://github.com/openlayers","followers_url":"https://api.github.com/users/openlayers/followers","following_url":"https://api.github.com/users/openlayers/following{/other_user}","gists_url":"https://api.github.com/users/openlayers/gists{/gist_id}","starred_url":"https://api.github.com/users/openlayers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openlayers/subscriptions","organizations_url":"https://api.github.com/users/openlayers/orgs","repos_url":"https://api.github.com/users/openlayers/repos","events_url":"https://api.github.com/users/openlayers/events{/privacy}","received_events_url":"https://api.github.com/users/openlayers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openlayers/ol3","description":"OpenLayers 3","fork":false,"url":"https://api.github.com/repos/openlayers/ol3","forks_url":"https://api.github.com/repos/openlayers/ol3/forks","keys_url":"https://api.github.com/repos/openlayers/ol3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openlayers/ol3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openlayers/ol3/teams","hooks_url":"https://api.github.com/repos/openlayers/ol3/hooks","issue_events_url":"https://api.github.com/repos/openlayers/ol3/issues/events{/number}","events_url":"https://api.github.com/repos/openlayers/ol3/events","assignees_url":"https://api.github.com/repos/openlayers/ol3/assignees{/user}","branches_url":"https://api.github.com/repos/openlayers/ol3/branches{/branch}","tags_url":"https://api.github.com/repos/openlayers/ol3/tags","blobs_url":"https://api.github.com/repos/openlayers/ol3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openlayers/ol3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openlayers/ol3/git/refs{/sha}","trees_url":"https://api.github.com/repos/openlayers/ol3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openlayers/ol3/statuses/{sha}","languages_url":"https://api.github.com/repos/openlayers/ol3/languages","stargazers_url":"https://api.github.com/repos/openlayers/ol3/stargazers","contributors_url":"https://api.github.com/repos/openlayers/ol3/contributors","subscribers_url":"https://api.github.com/repos/openlayers/ol3/subscribers","subscription_url":"https://api.github.com/repos/openlayers/ol3/subscription","commits_url":"https://api.github.com/repos/openlayers/ol3/commits{/sha}","git_commits_url":"https://api.github.com/repos/openlayers/ol3/git/commits{/sha}","comments_url":"https://api.github.com/repos/openlayers/ol3/comments{/number}","issue_comment_url":"https://api.github.com/repos/openlayers/ol3/issues/comments{/number}","contents_url":"https://api.github.com/repos/openlayers/ol3/contents/{+path}","compare_url":"https://api.github.com/repos/openlayers/ol3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openlayers/ol3/merges","archive_url":"https://api.github.com/repos/openlayers/ol3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openlayers/ol3/downloads","issues_url":"https://api.github.com/repos/openlayers/ol3/issues{/number}","pulls_url":"https://api.github.com/repos/openlayers/ol3/pulls{/number}","milestones_url":"https://api.github.com/repos/openlayers/ol3/milestones{/number}","notifications_url":"https://api.github.com/repos/openlayers/ol3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openlayers/ol3/labels{/name}","releases_url":"https://api.github.com/repos/openlayers/ol3/releases{/id}","created_at":"2012-06-20T06:53:59Z","updated_at":"2015-10-25T15:47:34Z","pushed_at":"2015-10-25T18:44:11Z","git_url":"git://github.com/openlayers/ol3.git","ssh_url":"git@github.com:openlayers/ol3.git","clone_url":"https://github.com/openlayers/ol3.git","svn_url":"https://github.com/openlayers/ol3","homepage":"http://openlayers.org","size":102831,"stargazers_count":1444,"watchers_count":1444,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":823,"mirror_url":null,"open_issues_count":376,"forks":823,"open_issues":376,"watchers":1444,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openlayers/ol3/pulls/4306"},"html":{"href":"https://github.com/openlayers/ol3/pull/4306"},"issue":{"href":"https://api.github.com/repos/openlayers/ol3/issues/4306"},"comments":{"href":"https://api.github.com/repos/openlayers/ol3/issues/4306/comments"},"review_comments":{"href":"https://api.github.com/repos/openlayers/ol3/pulls/4306/comments"},"review_comment":{"href":"https://api.github.com/repos/openlayers/ol3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openlayers/ol3/pulls/4306/commits"},"statuses":{"href":"https://api.github.com/repos/openlayers/ol3/statuses/a737970d7b9f8fee89e95fe94cb6253e9530db18"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":14,"review_comments":0,"commits":6,"additions":231,"deletions":10,"changed_files":4}}