SymbolixAU
SymbolixAU
> but does the polyline always have the sfencoded data class No, it also works on a standard data.frame [if `polyline` is defined](https://github.com/SymbolixAU/mapdeck/blob/master/R/map_data.R#L304). So we can pass the 'h3' column...
Do you have any example data I can use to start testing this?
thanks. If / when you make a PR can you request it into branch [issue243](https://github.com/SymbolixAU/mapdeck/tree/issue243) please.
I might also update the underlying mapdeck/src and spatialwidget/api code to replace the 'polyline' in the function names to something more generic, like 'string' / 'character', or something else. I'll...
yes, exactly.
You **should** just be able to call [`rcpp_point_polyline()`](https://github.com/SymbolixAU/mapdeck/blob/master/src/point.cpp#L152) in place of [this code](https://github.com/mitchelloharawild/mapdeck/commit/9231a869487619232dd53d81538e03114352fcb6#diff-c38dee10aba7b8d4dd2511eba7dd8d98R223-R233)
and for the `js` code you'll need to use the [`polyline` method](https://github.com/SymbolixAU/mapdeck/blob/master/inst/htmlwidgets/lib/polygon/polygon.js#L41) (without the `decode_polyline()` call).
I think we need to make use of `onViewStateChange` when setting up the initial `Deck` object. I've made a commit to branch 'issue211' which you're welcome to install, and you...
asking the source: https://github.com/uber/deck.gl/issues/3344
@zacdav I won't be able to update this for a few days so you're welcome to have a go and submit a PR if you get a good solution working.