No Clocks

No Clocks

2680 bookmarks
Newest
Garnish/decorate leaflet or mapview maps. — garnishMap
Garnish/decorate leaflet or mapview maps. — garnishMap
This function provides a versatile interface to add components to a leaflet or mapview map. It takes functions such as "addMouseCoordinates" or addLayersControl and their respective arguments and adds them to the map. Arguments must be named. Functions can be plain or character strings.
·r-spatial.github.io·
Garnish/decorate leaflet or mapview maps. — garnishMap
Add a reactive layer to map. — addReactiveFeatures
Add a reactive layer to map. — addReactiveFeatures
This function adds a layer to a map that is dependent on another layer. The reactive layer will be shown/hidden when holding the Ctrl-button on your keyboard and performing the action defined by on. on can be either "click" (default) or "mouseover". Note: srcLayer needs to be added to the map using addGeoJSON because we need to be able to link the two layers by a common attribute defined by argument by. Linking will be done via group name of srcLayer.
·r-spatial.github.io·
Add a reactive layer to map. — addReactiveFeatures
SpecStory - Visual Studio Marketplace
SpecStory - Visual Studio Marketplace
Extension for Visual Studio Code - Save, export, search and share AI chat history from GitHub Copilot and Cursor
·marketplace.visualstudio.com·
SpecStory - Visual Studio Marketplace
Generating a downloadable Quarto document from a shiny app on shinyapps.io
Generating a downloadable Quarto document from a shiny app on shinyapps.io
The following shiny app is intended pass user inputs from the app into a parameterized html quarto document that, when rendered, is downloaded via downloadHandler() and downloadButton(). This reproducible example works perfectly when deployed locally, but not when hosted on shinyapps.io. My understanding is that the quarto::quarto_render() call should have permission to write a file on shinyapps.io (it wouldn't be persistent from instance to instance, but that's fine). Does shinyapps.io not supp...
·forum.posit.co·
Generating a downloadable Quarto document from a shiny app on shinyapps.io
Zoom levels - Leaflet - a JavaScript library for interactive maps
Zoom levels - Leaflet - a JavaScript library for interactive maps
To understand how zoom levels work, first we need a basic introduction to geodesy.
When we represent the world at zoom level zero, it’s 256 pixels wide and high. When we go into zoom level one, it doubles its width and height, and can be represented by four 256-pixel-by-256-pixel images:
At each zoom level, each tile is divided in four, and its size (length of the edge, given by the tileSize option) doubles, quadrupling the area. (in other words, the width and height of the world is 256·2zoomlevel pixels):
In technical terms, the cylindrical projection that Leaflet uses is conformal (preserves shapes), but not equidistant (does not preserve distances), and not equal-area (does not preserve areas, as things near the equator appear smaller than they are).
setView(center, zoom), which also sets the map center flyTo(center, zoom), like setView but with a smooth animation zoomIn() / zoomIn(delta), zooms in delta zoom levels, 1 by default zoomOut() / zoomOut(delta), zooms out delta zoom levels, 1 by default setZoomAround(fixedPoint, zoom), sets the zoom level while keeping a point fixed (what scrollwheel zooming does) fitBounds(bounds), automatically calculates the zoom to fit a rectangular area on the map
·leafletjs.com·
Zoom levels - Leaflet - a JavaScript library for interactive maps
Lee Sheinberg
Lee Sheinberg
In this blog you will find the 15 best MCP servers. The Model Context Protocol allows AI agents to interact with other tools via HTTP APIs.
·digma.ai·
Lee Sheinberg
Managing context with Memory Bank · Enlighter
Managing context with Memory Bank · Enlighter
Master Memory Bank - a structured system that helps Cursor remember your project details across sessions - while building a Snake game with persistent AI assistance.
·enlightby.ai·
Managing context with Memory Bank · Enlighter
Managing context with Memory Bank · Enlighter
Managing context with Memory Bank · Enlighter
Master Memory Bank - a structured system that helps Cursor remember your project details across sessions - while building a Snake game with persistent AI assistance.
·enlightby.ai·
Managing context with Memory Bank · Enlighter