Title: Smjrifle Interactive Maps with Google Maps and Leaflet
Author: smjrifle
Published: <strong>13 de Abril, 2026</strong>
Last modified: 13 de Abril, 2026

---

Buscar plugins

![](https://ps.w.org/smjrifle-interactive-maps/assets/banner-772x250.png?rev=3505513)

![](https://ps.w.org/smjrifle-interactive-maps/assets/icon-256x256.png?rev=3505513)

# Smjrifle Interactive Maps with Google Maps and Leaflet

 Por [smjrifle](https://profiles.wordpress.org/smjrifle/)

[Descargar](https://downloads.wordpress.org/plugin/smjrifle-interactive-maps.1.0.0.zip)

 * [Detalles](https://gl.wordpress.org/plugins/smjrifle-interactive-maps/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/smjrifle-interactive-maps/#reviews)
 *  [Instalación](https://gl.wordpress.org/plugins/smjrifle-interactive-maps/#installation)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/smjrifle-interactive-maps/#developers)

 [Soporte](https://wordpress.org/support/plugin/smjrifle-interactive-maps/)

## Descrición

Smjrifle Interactive Maps with Google Maps and Leaflet brings powerful, customizable
mapping functionality to WordPress with:

 * **Dual Engine Support**: Google Maps or Leaflet (OpenStreetMap) fallback
 * **Marker Clustering**: Group nearby markers at lower zoom levels
 * **Custom Markers**: Use your own marker icons per location
 * **Snazzy Maps**: 8+ preset map styles + custom JSON support
 * **Location Search**: Built-in Autocomplete and Geocoding
 * **Location Cards**: Display list of locations with grid layout
 * **Popups**: Rich HTML popups with images, descriptions, and links
 * **Lazy Loading**: Intersection Observer for performance
 * **Shortcode**: [smjrgoma_map id=”123″] for easy embeds
 * **Per-Map Settings**: Zoom, type, center, height, colors individually

### Getting Started

 1. **Create a Map Post**: Go to WordPress admin > Smjrifle Interactive Maps with Google
    Maps and Leaflet > Add New Map
 2. **Search & Add Locations**: Use the search bar or click the map to place pins
 3. **Configure**: Set zoom, map type, height, colors in the Settings tab
 4. **Style**: Apply Snazzy Maps presets or custom JSON in the Style tab
 5. **Publish**: Save the map and get your shortcode
 6. **Embed**: Use [smjrgoma_map id=”123″] on any page/post

### Admin Features

 * **Map Editor**: Visual map for editing pins with drag-and-drop
 * **Location Manager**: Edit title, image, description, and settings per marker
 * **Auto Geocoding**: Click map to auto-fill address via Geocoding API
 * **Location Search**: Autocomplete search to add locations instantly
 * **Snazzy Styles**: Preset styles + custom JSON support
 * **Global Settings**: Default marker icon, clustering, scroll behavior, lazy loading

### Frontend Features

 * **Responsive Maps**: Mobile-friendly with touch support
 * **Location Cards**: Grid display of all locations with images
 * **Interactive**: Click card to pan/zoom map and open popup
 * **Lazy Loading**: Maps load only when visible (default on)
 * **Clustering**: Markers group into clusters until you zoom in
 * **Popup Rich Content**: Images, descriptions, links in marker popups
 * **Fallback Engine**: Auto-switches to Leaflet if Google API unavailable

### API Requirements

To use Google Maps, you need a Google API key with these APIs enabled:

 * Google Maps JavaScript API
 * Places API (for location search)
 * Geocoding API (for address lookup)

Leaflet fallback requires no API key and uses OpenStreetMap tiles.

### External Services

This plugin uses external services to provide map functionality.

Google Maps JavaScript API

 * Used when a Google Maps API key is provided
 * Loads scripts and map data from: https://maps.googleapis.com/
 * Used for rendering maps, markers, clustering, autocomplete search, and geocoding
 * Data sent: User-entered location queries (for search/geocoding)
 * Privacy Policy: https://policies.google.com/privacy

OpenStreetMap (Leaflet fallback)

 * Used when no Google Maps API key is provided
 * Map tiles are loaded from OpenStreetMap servers
 * Used for rendering maps and markers
 * Data sent: Map tile requests based on user viewport
 * Privacy Policy: https://wiki.osmfoundation.org/wiki/Privacy_Policy

### Security

 * **Nonce Verification**: All AJAX requests validated
 * **Capability Checks**: Only authorized users can manage maps
 * **Input Sanitization**: All user input sanitized per WordPress standards
 * **Output Escaping**: All output properly escaped (`esc_html`, `esc_attr`, `esc_url`,`
   wp_kses_post`)
 * **Database Safety**: Uses WordPress APIs for data storage

### Settings

 * **Map Engine**: Auto (Google if API key, else Leaflet), Google, or Leaflet
 * **Marker Icon**: Global default marker PNG/SVG URL
 * **Clustering**: Toggle marker clustering globally
 * **Cluster Style**: Default, Modern, or Minimal (Google Maps)
 * **Scroll Zoom**: Enable/disable scroll wheel zoom
 * **Lazy Loading**: Load maps only when visible

### Shortcode

    ```
    [smjrgoma_map id="123" height="500" zoom="14" class="custom-class"]
    ```

 * **id** (required): Post ID of the map
 * **height** (optional): Map height in pixels (default: post setting)
 * **zoom** (optional): Default zoom level (default: post setting)
 * **class** (optional): CSS class for wrapper div

## Capturas

[⌊Admin Panel to search location and add pins with details⌉⌊Admin Panel to search
location and add pins with details⌉[

Admin Panel to search location and add pins with details

[⌊Admin edit pin details⌉⌊Admin edit pin details⌉[

Admin edit pin details

[⌊Admin Settings with map engine selection and API key⌉⌊Admin Settings with map 
engine selection and API key⌉[

Admin Settings with map engine selection and API key

[⌊Frontend Map with location cards and clustering⌉⌊Frontend Map with location cards
and clustering⌉[

Frontend Map with location cards and clustering

[⌊Frontend Map with pin popup⌉⌊Frontend Map with pin popup⌉[

Frontend Map with pin popup

## Instalación

 1. Upload the plugin directory to `/wp-content/plugins/`
 2. Activate the plugin via the WordPress admin panel
 3. Go to Smjrifle Interactive Maps with Google Maps and Leaflet > Settings
 4. (Optional) Add your Google Maps API key
 5. Create a map post and add locations

## Comentarios

Non hai recensións para este plugin.

## Colaboradores e desenvolvedores

“Smjrifle Interactive Maps with Google Maps and Leaflet” é un software de código
aberto. As seguintes persoas colaboraron con este plugin.

Colaboradores

 *   [ smjrifle ](https://profiles.wordpress.org/smjrifle/)

[Traduce “Smjrifle Interactive Maps with Google Maps and Leaflet” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/smjrifle-interactive-maps)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/smjrifle-interactive-maps/),
bota unha ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/smjrifle-interactive-maps/),
ou subscríbete ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/smjrifle-interactive-maps/)
por [RSS](https://plugins.trac.wordpress.org/log/smjrifle-interactive-maps/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

#### 1.0.0

 * Initial release
 * Google Maps engine with clustering and custom markers
 * Leaflet fallback with OpenStreetMap tiles
 * Dual engine support with auto-detection
 * Snazzy Maps presets + custom JSON
 * Location search with Autocomplete and Geocoding
 * Rich popups with images, descriptions, links
 * Location card list with grid layout
 * Global settings + per-map settings
 * Lazy loading with Intersection Observer
 * Shortcode support
 * Full admin map editor with drag-and-drop
 * AJAX-based location management
 * Proper WordPress security practices

## Meta

 *  Versión **1.0.0**
 *  Última actualización **Fai 3 meses**
 *  Instalacións activas **Menos de 10**
 *  Versión de WordPress ** 5.6 ou superior **
 *  Probado ata **6.9.4**
 *  Versión de PHP ** 7.4 ou superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/smjrifle-interactive-maps/)
 * Etiquetas
 * [Google Maps](https://gl.wordpress.org/plugins/tags/google-maps/)[leaflet](https://gl.wordpress.org/plugins/tags/leaflet/)
   [maps](https://gl.wordpress.org/plugins/tags/maps/)[markers](https://gl.wordpress.org/plugins/tags/markers/)
   [shortcode](https://gl.wordpress.org/plugins/tags/shortcode/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/smjrifle-interactive-maps/advanced/)

## Valoracións

Aínda non se enviaron valoracións.

[Your review](https://wordpress.org/support/plugin/smjrifle-interactive-maps/reviews/#new-post)

[Ver todas as valoracións](https://wordpress.org/support/plugin/smjrifle-interactive-maps/reviews/)

## Colaboradores

 *   [ smjrifle ](https://profiles.wordpress.org/smjrifle/)

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/smjrifle-interactive-maps/)