[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f4G-tA-iTHAuc86STfZVcweYeaR6qIKdXoXnigN11Z4M":3},{"slug":4,"display_name":5,"profile_url":6,"plugin_count":7,"total_installs":8,"avg_security_score":9,"avg_patch_time_days":10,"trust_score":11,"computed_at":12,"plugins":13},"glycymeris","Jesus Yesares","https:\u002F\u002Fprofiles.wordpress.org\u002Fglycymeris\u002F",1,0,100,30,94,"2026-08-29T02:53:59.483Z",[14],{"slug":15,"name":16,"version":17,"author":5,"author_profile":6,"description":18,"short_description":19,"active_installs":8,"downloaded":20,"rating":8,"num_ratings":8,"last_updated":21,"tested_up_to":22,"requires_at_least":23,"requires_php":24,"tags":25,"homepage":31,"download_link":32,"security_score":9,"vuln_count":8,"unpatched_count":8,"last_vuln_date":33,"fetched_at":34},"cartoblocks-for-leaflet","CartoBlocks for Leaflet","1.2.5","\u003Cp>CartoBlocks for Leaflet adds a native Gutenberg block that wraps the \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fleaflet-map\u002F\" rel=\"ugc\">Leaflet Map\u003C\u002Fa> plugin shortcodes. Configure your map visually in the block editor — the plugin generates the correct shortcodes automatically, and the frontend is \u003Cstrong>rendered entirely by Leaflet Map\u003C\u002Fstrong>.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Core map features:\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Interactive live preview in the editor — what you see is what you get.\u003C\u002Fli>\n\u003Cli>Pan, zoom, and drag markers directly on the map preview.\u003C\u002Fli>\n\u003Cli>Sidebar controls for coordinates, zoom level, height, width, and scroll-wheel zoom.\u003C\u002Fli>\n\u003Cli>Address geocoding — search by place name (Nominatim\u002FOpenStreetMap), pick from up to 5 candidates.\u003C\u002Fli>\n\u003Cli>Fit map to markers toggle.\u003C\u002Fli>\n\u003Cli>Full tile layer override: custom tile URL, tile size, subdomains, Map ID, access token, zoom offset, no-wrap, detect retina.\u003C\u002Fli>\n\u003Cli>WMS tile source support (\u003Ccode>[leaflet-wms]\u003C\u002Fcode>) — toggle in Tile Layer panel; configure source URL, layer name, and CRS.\u003C\u002Fli>\n\u003Cli>Image map mode (\u003Ccode>[leaflet-image]\u003C\u002Fcode>) — replace tiles with a flat image (floor plans, diagrams, custom maps) on \u003Ccode>L.CRS.Simple\u003C\u002Fcode>.\u003C\u002Fli>\n\u003Cli>Map Controls panel: min\u002Fmax zoom, max bounds, scale bar, custom attribution.\u003C\u002Fli>\n\u003Cli>Interaction controls: dragging, keyboard, double-click zoom, box zoom, close-popup-on-click, tap, inertia — each with Default \u002F Enabled \u002F Disabled three-state model.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>\u003Cstrong>Markers (\u003Ccode>[leaflet-marker]\u003C\u002Fcode>):\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Add, edit, and remove markers with title and popup content (HTML supported).\u003C\u002Fli>\n\u003Cli>Per-marker: alt text, auto-open popup, draggable, opacity, z-index offset.\u003C\u002Fli>\n\u003Cli>Custom icon via WordPress Media Library — width\u002Fheight with aspect-ratio lock, icon anchor and popup anchor with 9-position presets.\u003C\u002Fli>\n\u003Cli>SVG marker mode — background color, icon color (theme palette + custom picker), icon CSS class (Font Awesome \u002F any icon font).\u003C\u002Fli>\n\u003Cli>Per-marker address geocoder.\u003C\u002Fli>\n\u003Cli>Drag markers on the live preview to update coordinates in real time.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>\u003Cstrong>Lines and polygons (\u003Ccode>[leaflet-line]\u003C\u002Fcode>):\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Click-to-draw lines and polygons directly on the map preview.\u003C\u002Fli>\n\u003Cli>Per-line\u002Fpolygon: color, weight, opacity, dash array, CSS class, fill, fill color, fill opacity, popup text.\u003C\u002Fli>\n\u003Cli>Per-point address geocoder.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>\u003Cstrong>Circles (\u003Ccode>[leaflet-circle]\u003C\u002Fcode>):\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>2-click draw on the map preview — first click places center, second click sets radius.\u003C\u002Fli>\n\u003Cli>Live radius guide line and draggable center pin post-draw.\u003C\u002Fli>\n\u003Cli>m\u002Fkm unit toggle (stored in meters).\u003C\u002Fli>\n\u003Cli>Per-circle: color, weight, opacity, dash array, CSS class, fill, fill color, fill opacity, popup text.\u003C\u002Fli>\n\u003Cli>Per-circle address geocoder.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>\u003Cstrong>Data layers (\u003Ccode>[leaflet-geojson]\u003C\u002Fcode>, \u003Ccode>[leaflet-gpx]\u003C\u002Fcode>, \u003Ccode>[leaflet-kml]\u003C\u002Fcode>):\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Load external GeoJSON, GPX, or KML files by URL.\u003C\u002Fli>\n\u003Cli>Full attribute parity: fitbounds, popup template with \u003Ccode>{property}\u003C\u002Fcode> interpolation, popup property, table view.\u003C\u002Fli>\n\u003Cli>Style controls: color, weight, opacity, dash array, CSS class, fill, fill color, fill opacity.\u003C\u002Fli>\n\u003Cli>Custom point icon with aspect-ratio lock and anchor presets.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>\u003Cstrong>Image and video overlays (\u003Ccode>[leaflet-image-overlay]\u003C\u002Fcode>, \u003Ccode>[leaflet-video-overlay]\u003C\u002Fcode>):\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Pin raster images or videos to geo coordinates via SW\u002FNE bounds.\u003C\u002Fli>\n\u003Cli>Controls: opacity, interactivity, alt text, z-index, CSS class.\u003C\u002Fli>\n\u003Cli>Aspect-ratio lock for image overlays.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>\u003Cstrong>Developer-friendly:\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Generates standard Leaflet Map shortcodes — full compatibility with the Leaflet Map plugin ecosystem.\u003C\u002Fli>\n\u003Cli>Multiple independent map blocks per page, fully isolated.\u003C\u002Fli>\n\u003Cli>Shortcode viewer in the toolbar — inspect and copy the generated shortcode at any time.\u003C\u002Fli>\n\u003Cli>All strings are translation-ready (\u003Ccode>.pot\u003C\u002Fcode> file included).\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>\u003Cstrong>Requirements:\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>The \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fleaflet-map\u002F\" rel=\"ugc\">Leaflet Map\u003C\u002Fa> plugin must be installed and active. This is declared as a plugin dependency, so WordPress will guide you to install and activate it before this plugin can be activated.\u003C\u002Fli>\n\u003Cli>WordPress 6.8 or higher.\u003C\u002Fli>\n\u003Cli>PHP 7.4 or higher.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>Source Code\u003C\u002Fh3>\n\u003Cp>The JavaScript and CSS files shipped in the \u003Ccode>build\u002F\u003C\u002Fcode> directory of this plugin\u003Cbr \u002F>\nare compiled with webpack (via \u003Ccode>@wordpress\u002Fscripts\u003C\u002Fcode>): the JavaScript from the\u003Cbr \u002F>\nJSX sources and the CSS from the SCSS sources. The human-readable source code\u003Cbr \u002F>\nis publicly available in the plugin’s development repository:\u003C\u002Fp>\n\u003Cp>https:\u002F\u002Fgithub.com\u002Fjesusyesares\u002Fcartoblocks-for-leaflet\u003C\u002Fp>\n\u003Cp>The uncompiled sources (\u003Ccode>.js\u003C\u002Fcode> and \u003Ccode>.scss\u003C\u002Fcode>) live in the \u003Ccode>src\u002F\u003C\u002Fcode> directory of\u003Cbr \u002F>\nthat repository. To build the plugin from source:\u003C\u002Fp>\n\u003Col>\n\u003Cli>Clone the repository: \u003Ccode>git clone https:\u002F\u002Fgithub.com\u002Fjesusyesares\u002Fcartoblocks-for-leaflet.git\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>Install the dependencies: \u003Ccode>npm install\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>Build the production files into \u003Ccode>build\u002F\u003C\u002Fcode>: \u003Ccode>npm run build\u003C\u002Fcode>\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Ch3>External services\u003C\u002Fh3>\n\u003Cp>This plugin connects to one external service: the Nominatim geocoding API\u003Cbr \u002F>\noperated by the OpenStreetMap Foundation. It is used \u003Cstrong>only\u003C\u002Fstrong> in the block\u003Cbr \u002F>\neditor, and \u003Cstrong>only\u003C\u002Fstrong> when you click the address search button to look up the\u003Cbr \u002F>\ncoordinates of a place name. It is never called on the frontend of your site\u003Cbr \u002F>\nand is never called automatically.\u003C\u002Fp>\n\u003Cp>When you perform an address search, the text you type into the search field is\u003Cbr \u002F>\nsent to \u003Ccode>https:\u002F\u002Fnominatim.openstreetmap.org\u002Fsearch\u003C\u002Fcode> so it can be matched\u003Cbr \u002F>\nagainst OpenStreetMap data and returned as a list of candidate locations. The\u003Cbr \u002F>\nrequest also includes your site URL and administrator contact email in the\u003Cbr \u002F>\nUser-Agent header, following Nominatim’s usage policy for attribution. No other\u003Cbr \u002F>\npersonal data is transmitted. If you have configured a Nominatim contact email\u003Cbr \u002F>\nin the Leaflet Map plugin settings, that value is used instead.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Service provider: OpenStreetMap Foundation (Nominatim)\u003C\u002Fli>\n\u003Cli>Terms \u002F usage policy: https:\u002F\u002Foperations.osmfoundation.org\u002Fpolicies\u002Fnominatim\u002F\u003C\u002Fli>\n\u003Cli>Privacy policy: https:\u002F\u002Fwiki.osmfoundation.org\u002Fwiki\u002FPrivacy_Policy\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Note: GeoJSON, GPX, and KML data layers, and any map tiles, are loaded by the\u003Cbr \u002F>\nLeaflet Map plugin (and your browser) from whatever URLs \u003Cstrong>you\u003C\u002Fstrong> enter. Those\u003Cbr \u002F>\nrequests are made by the Leaflet Map plugin, not by CartoBlocks for Leaflet.\u003C\u002Fp>\n\u003Cp>Note: if “Use WMS tile source” is enabled but the WMS Source field is left\u003Cbr \u002F>\nempty, the Leaflet Map plugin falls back to a free public demo WMS service\u003Cbr \u002F>\noperated by terrestris GmbH (\u003Ccode>ows.mundialis.de\u003C\u002Fcode>). That service displays a\u003Cbr \u002F>\nwatermark and is also a third-party request — provide your own WMS URL to\u003Cbr \u002F>\navoid it.\u003C\u002Fp>\n\u003Ch3>Known Limitations\u003C\u002Fh3>\n\u003Cp>\u003Cstrong>GPX data layers from the Media Library may not render.\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>When a \u003Ccode>.gpx\u003C\u002Fcode> file is uploaded to the WordPress Media Library and used as the\u003Cbr \u002F>\nsource of a GPX data layer, the track may fail to draw, while GeoJSON and KML\u003Cbr \u002F>\nlayers work in the same setup. This is an upstream limitation in the Leaflet\u003Cbr \u002F>\nMap plugin, not in CartoBlocks for Leaflet: its GeoJSON\u002FGPX\u002FKML loader reads the\u003Cbr \u002F>\nresponse as XML (\u003Ccode>responseXML\u003C\u002Fcode>), which the browser only populates when the file\u003Cbr \u002F>\nis served with an XML \u003Ccode>Content-Type\u003C\u002Fcode> (\u003Ccode>text\u002Fxml\u003C\u002Fcode>, \u003Ccode>application\u002Fxml\u003C\u002Fcode>, or a\u003Cbr \u002F>\n    +xml subtype). Many web servers serve \u003Ccode>.gpx\u003C\u002Fcode> as \u003Ccode>text\u002Fplain\u003C\u002Fcode> or\u003Cbr \u002F>\n    application\u002Foctet-stream, so the track is never parsed. The same behaviour\u003Cbr \u002F>\noccurs when using the Leaflet Map plugin’s \u003Ccode>[leaflet-gpx]\u003C\u002Fcode> shortcode directly.\u003C\u002Fp>\n\u003Cp>Workarounds: serve the GPX file from a host that sets an XML \u003Ccode>Content-Type\u003C\u002Fcode>\u003Cbr \u002F>\n(e.g. \u003Ccode>application\u002Fgpx+xml\u003C\u002Fcode>), or configure your web server to serve \u003Ccode>.gpx\u003C\u002Fcode> as\u003Cbr \u002F>\nXML. GeoJSON and KML layers are unaffected.\u003C\u002Fp>\n\u003Cp>Check out the source code and more details on \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fjesusyesares\u002Fcartoblocks-for-leaflet\" rel=\"nofollow ugc\">GitHub\u003C\u002Fa>!\u003C\u002Fp>\n","A Gutenberg block that gives you a full visual editor for all Leaflet Map plugin shortcodes — no shortcode writing required.",114,"2026-07-07T10:35:00.000Z","7.0.2","6.8","7.4",[26,27,28,29,30],"block","gutenberg","leaflet","map","openstreetmap","https:\u002F\u002Fgithub.com\u002Fjesusyesares\u002Fcartoblocks-for-leaflet","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fcartoblocks-for-leaflet.1.2.5.zip",null,"2026-07-22T17:31:50.256Z"]