Skip to content

Commit

Permalink
Fixed WMTS update with url
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Sep 29, 2017
1 parent 7814bd9 commit 7ef2b90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions geoviews/plotting/bokeh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def get_data(self, element, ranges=None, empty=False):

def _update_glyph(self, renderer, properties, mapping, glyph):
allowed_properties = glyph.properties()
mapping['url'] = mapping.pop('tile_source').url
merged = dict(properties, **mapping)
glyph.update(**{k: v for k, v in merged.items()
if k in allowed_properties})
Expand Down

0 comments on commit 7ef2b90

Please sign in to comment.