trafficonese

Results 130 comments of trafficonese

Unfortunately i'm no JS-Pro either and I dont know exactly what the checks are doing. But did you use `yarn build` ? This should build a fresh `/htmlwidgest/leaflet.js`. Its not...

I have a little suggestion: Could you include the `leafletPolylineoffsetDependencies` only if an offset is used? Otherwise the dependency is always added, but not always needed/required. So if offset is...

Hey, I'm actually very interested in this functionality as well. But for some time now I've been toying with the idea of taking over the maintenance of 'leaflet.extras' more than...

Your `src` argument points to a `package.json` and should instead point to `https://cdn.jsdelivr.net/npm/[email protected]/` Then your `script` and `stylesheet` just need the filenames, without the `src` path. This should work: ```...

I think you have to create a new `htmlDependency` and register that too: ``` fontawesomePlugin % setView(-122.23, 37.75, zoom = 10)%>% addTiles()%>% registerPlugin(fontawesomePlugin) %>% registerPlugin(beautifyPlugin) %>% onRender("function(el, x) { L.marker([37.77,...

I don't know how you got this error `could not find function "renderLeaflet"`, but you're right, the code snippet doesnt work right away in a shiny app. Apparently you have...

You could include an image like that. This should work with local images too. Make sure to give an appropriate width and height. ``` leaflet() %>% addTiles() %>% addEasyButton(easyButton( icon='',...

When used in a shiny-app no values show at all and there are some errors in the browser console: > leafem: Failed to find window.data > Uncaught TypeError: layer.value.toFixed is...

Interesting, your code doesnt work at all on mine with the latest github and CRAN version. I am getting: > Error: no slot "Map" for this object ob class "mapview"

Yes, the underlying package (`leafem`) and the Javascript library use the `layerId` (or in mapviews case the `layer.name`) to assign and receive the data to/from the browser window. But it's...