{"action":"created","issue":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/1335","labels_url":"https://api.github.com/repos/bokeh/bokeh/issues/1335/labels{/name}","comments_url":"https://api.github.com/repos/bokeh/bokeh/issues/1335/comments","events_url":"https://api.github.com/repos/bokeh/bokeh/issues/1335/events","html_url":"https://github.com/bokeh/bokeh/issues/1335","id":46684594,"number":1335,"title":"GMap points don't move consistently","user":{"login":"chdoig","id":4940549,"avatar_url":"https://avatars.githubusercontent.com/u/4940549?v=3","gravatar_id":"","url":"https://api.github.com/users/chdoig","html_url":"https://github.com/chdoig","followers_url":"https://api.github.com/users/chdoig/followers","following_url":"https://api.github.com/users/chdoig/following{/other_user}","gists_url":"https://api.github.com/users/chdoig/gists{/gist_id}","starred_url":"https://api.github.com/users/chdoig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chdoig/subscriptions","organizations_url":"https://api.github.com/users/chdoig/orgs","repos_url":"https://api.github.com/users/chdoig/repos","events_url":"https://api.github.com/users/chdoig/events{/privacy}","received_events_url":"https://api.github.com/users/chdoig/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bokeh/bokeh/labels/tag:%20geo","name":"tag: geo","color":"D0CBB8"},{"url":"https://api.github.com/repos/bokeh/bokeh/labels/type:%20bug","name":"type: bug","color":"C02942"}],"state":"open","locked":false,"assignee":{"login":"bryevdv","id":1078448,"avatar_url":"https://avatars.githubusercontent.com/u/1078448?v=3","gravatar_id":"","url":"https://api.github.com/users/bryevdv","html_url":"https://github.com/bryevdv","followers_url":"https://api.github.com/users/bryevdv/followers","following_url":"https://api.github.com/users/bryevdv/following{/other_user}","gists_url":"https://api.github.com/users/bryevdv/gists{/gist_id}","starred_url":"https://api.github.com/users/bryevdv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryevdv/subscriptions","organizations_url":"https://api.github.com/users/bryevdv/orgs","repos_url":"https://api.github.com/users/bryevdv/repos","events_url":"https://api.github.com/users/bryevdv/events{/privacy}","received_events_url":"https://api.github.com/users/bryevdv/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/bokeh/bokeh/milestones/11","html_url":"https://github.com/bokeh/bokeh/milestones/short-term","labels_url":"https://api.github.com/repos/bokeh/bokeh/milestones/11/labels","id":811343,"number":11,"title":"short-term","description":"Collects issues that need to be resolved soon, but not before the next release.\r\nThis milestone is always open and it gets populated from the either the long-term milestone or from new (unmilestoned) issues.\r\n\r\nRef: https://github.com/ContinuumIO/bokeh/wiki/BEP-1:-Issues-and-PRs-management#issue-times","creator":{"login":"damianavila","id":1640669,"avatar_url":"https://avatars.githubusercontent.com/u/1640669?v=3","gravatar_id":"","url":"https://api.github.com/users/damianavila","html_url":"https://github.com/damianavila","followers_url":"https://api.github.com/users/damianavila/followers","following_url":"https://api.github.com/users/damianavila/following{/other_user}","gists_url":"https://api.github.com/users/damianavila/gists{/gist_id}","starred_url":"https://api.github.com/users/damianavila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianavila/subscriptions","organizations_url":"https://api.github.com/users/damianavila/orgs","repos_url":"https://api.github.com/users/damianavila/repos","events_url":"https://api.github.com/users/damianavila/events{/privacy}","received_events_url":"https://api.github.com/users/damianavila/received_events","type":"User","site_admin":false},"open_issues":241,"closed_issues":30,"state":"open","created_at":"2014-10-02T12:30:03Z","updated_at":"2015-07-20T15:49:37Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2014-10-23T22:24:01Z","updated_at":"2015-07-23T18:45:59Z","closed_at":null,"body":"When I move around the GMap Plot the points don't move consistently move with the map and appear in a different location.\r\n\r\n![screen shot 2014-10-23 at 4 34 07 pm](https://cloud.githubusercontent.com/assets/4940549/4761946/8057af68-5afc-11e4-94a4-350a6dd49813.png)\r\n![screen shot 2014-10-23 at 4 33 29 pm](https://cloud.githubusercontent.com/assets/4940549/4761947/8067b4b2-5afc-11e4-9a29-e599513ea563.png)\r\n\r\nWe are using this script (plotting.py):\r\n\r\n```python\r\nfrom bokeh.embed import components\r\nfrom bokeh.glyphs import Circle\r\nfrom bokeh.objects import (\r\n    GMapPlot, Range1d, ColumnDataSource,\r\n    PanTool, WheelZoomTool, BoxSelectTool,\r\n    BoxSelectionOverlay, GMapOptions)\r\nfrom bokeh.resources import CDN\r\n\r\nfrom bokeh.plotting import scatter\r\n\r\ndef map_builder(column_data_source):\r\n\r\n    x_range = Range1d()\r\n    y_range = Range1d()\r\n \r\n    map_options = GMapOptions(lat=10, lng=-8, zoom=2) # centers on West Africa\r\n\r\n    plot = GMapPlot(\r\n        x_range=x_range, y_range=y_range,\r\n        map_options=map_options,\r\n        # title = \"Map\"  # Should probably pass a name to map function\r\n    )\r\n\r\n    plot.map_options.map_type=\"hybrid\"\r\n    circle = Circle(x=\"longitude\", y=\"latitude\", size=10, fill_color=\"fill\", line_color=\"black\")\r\n    plot.add_glyph(column_data_source, circle)\r\n\r\n    pan = PanTool()\r\n    wheel_zoom = WheelZoomTool()\r\n    # TODO Add hover tooltip with extra column data\r\n    plot.add_tools(pan, wheel_zoom)\r\n\r\n    return components(plot, CDN)\r\n```\r\n\r\nA complete example would be:\r\n\r\n```python\r\nfrom blaze import *\r\nfrom bokeh.objects import ColumnDataSource\r\nfrom plotting import map_builder\r\n t = Data('/data/geo.csv')\r\nt2 = t[['longitude', 'latitude']]\r\ncds = into(ColumnDataSource, t2)\r\nscript, div = map_builder(cds)\r\n```\r\n\r\nI'll send you the file.\r\n\r\ncc: @bryevdv \r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/comments/124207566","html_url":"https://github.com/bokeh/bokeh/issues/1335#issuecomment-124207566","issue_url":"https://api.github.com/repos/bokeh/bokeh/issues/1335","id":124207566,"user":{"login":"hafen","id":1275592,"avatar_url":"https://avatars.githubusercontent.com/u/1275592?v=3","gravatar_id":"","url":"https://api.github.com/users/hafen","html_url":"https://github.com/hafen","followers_url":"https://api.github.com/users/hafen/followers","following_url":"https://api.github.com/users/hafen/following{/other_user}","gists_url":"https://api.github.com/users/hafen/gists{/gist_id}","starred_url":"https://api.github.com/users/hafen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hafen/subscriptions","organizations_url":"https://api.github.com/users/hafen/orgs","repos_url":"https://api.github.com/users/hafen/repos","events_url":"https://api.github.com/users/hafen/events{/privacy}","received_events_url":"https://api.github.com/users/hafen/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T18:45:59Z","updated_at":"2015-07-23T18:45:59Z","body":"Should transforming data superposed on a gmap plot be a new issue separate from this one?"}}