Plugins
Contenido
Correspondencia de plugins entre Mapea y API-IDEE. En la columna de localización se indica si el plugin es interno de API-IDEE o externo de Community Plugins:
- Interno API-IDEE: se encuentra dentro del despliegue de API-IDEE (https://api-idee.juntadeandalucia.es/api-idee/).
- Community Plugins: se encuentra en la galería de plugins comunitarios (https://api-idee.juntadeandalucia.es/communityplugins/gallery/).
Importación de un plugin de Community Plugins
Los plugins comunitarios no van embebidos en el CORE: hay que importarlos en la página con su URL de recurso (JS, y CSS si aplica), publicada bajo el despliegue de Community Plugins.
La ruta habitual tiene esta forma:
https://api-idee.juntadeandalucia.es/communityplugins/plugins/{nombre}/legacy/{nombre}-{versión}.ol.min.jsEjemplo (plugin addlayers, versión 1.0.0):
<script type="text/javascript"
src="https://api-idee.juntadeandalucia.es/communityplugins/plugins/addlayers/legacy/addlayers-1.0.0.ol.min.js">
</script>Tras cargar el script (y la hoja de estilos correspondiente, si el plugin la publica), se instancia el plugin en JavaScript igual que uno interno y se añade al mapa.
Tabla de correspondencia
| Mapea | API-IDEE | Localización |
|---|---|---|
catalogsearch | --- | Externo Community Plugins |
filteredsearch | filteredsearch | Interno API-IDEE |
mapheader | mapheader | Interno API-IDEE |
mapfooter | mapfooter | Interno API-IDEE |
magnify | magnify | Interno API-IDEE |
maxextzoom | maxextzoom | Interno API-IDEE |
searchpanel | --- | Externo Community Plugins |
toponomysearch | --- | Externo Community Plugins |
geosearch | --- | Externo Community Plugins |
geosearchbylocation | --- | Externo Community Plugins |
measurebar | measurebar | Interno API-IDEE |
printerdos | --- | Externo Community Plugins |
searchstreet | --- | Externo Community Plugins |
searchstreetgeosearch | --- | Externo Community Plugins |
| — | backimglayer | Interno API-IDEE |
| — | comparators | Interno API-IDEE |
| — | contactlink | Interno API-IDEE |
| — | incicarto | Interno API-IDEE |
| — | infocoordinates | Interno API-IDEE |
| — | information | Interno API-IDEE |
| — | locator | Interno API-IDEE |
| — | modal | Interno API-IDEE |
| — | printerviewmanagement | Interno API-IDEE |
| — | queryattributes | Interno API-IDEE |
| — | rescale | Externo Community Plugins — obsoleto |
| — | selectionzoom | Interno API-IDEE |
| — | sharemap | Interno API-IDEE |
| — | storymap | Interno API-IDEE |
stylemanager | stylemanager | Interno y externo Community Plugins |
timeline | timeline | Interno API-IDEE |
| — | vectorsmanagement | Interno API-IDEE |
| — | viewmanagement | Interno API-IDEE |
wfstcontrols | wfstcontrols | Interno API-IDEE |
| — | stereoscopic | Interno API-IDEE |
| — | overviewmap | Interno API-IDEE |
| — | mousesrs | Interno API-IDEE |
| — | help | Interno API-IDEE |
| — | locatorscn | Interno API-IDEE |
| — | basic | Interno API-IDEE |
| — | layerswitcher | Interno API-IDEE |
| archetype | archetype | Externo Community Plugins |
findroute | --- | Externo Community Plugins |
Resumen
- Interno API-IDEE: disponible en https://api-idee.juntadeandalucia.es/api-idee/.
- Community Plugins: disponible en https://api-idee.juntadeandalucia.es/communityplugins/gallery/ (véase también el apartado de recursos de plugins).
- Community Plugins — obsoleto:
rescale(no usar en desarrollos nuevos). - El plugin
stylemanagerestá disponible tanto en API-IDEE como en Community Plugins pero con una interfaz diferente. - Algunos plugins de API-IDEE no tienen equivalente listado en Mapea en esta tabla.