Mashups são pequenos programas que podem ser facilmente inseridos em páginas HTML e que mostram determinados conteúdos.
No caso do i3Geo, os mashups mostram mapas tendo como base o conjunto de temas existentes no diretório i3geo/temas.
O OpenLayers é uma biblioteca em javascript bastante popular. Possuí uma interface simples mas que pode conter um grande número de funcionalidades.
Para ver todos os parâmetros: i3geo/mashups/openlayers.php
Para usar o Open Street Map (OSM) utilize o endereço i3geo/mashups/osm.php
Nos exemplos, basta substituir openlayers.php por osm.php:
Windows: osm.php?temas=_wbiomashp&largura=800&altura=500
Linux: osm.php?temas=_lbiomashp&largura=800&altura=500
O gerador de Web Services do i3GEO pode ser utilizado para abrir o mashup.
Windows: ogc.php?temas=_wbiomashp&format=application/openlayers&bbox=-54,-14,-50,-10
Linux: ogc.php?temas=_lbiomashp&format=application/openlayers&bbox=-54,-14,-50,-10
Cada tema pode receber filtros seguindo-se a sintaxe &map_layer_{codigo do tema}_filter= Em camadas com origem em arquivos shapefile o valor do filtro segue o padrão (('[nome_da_coluna]'='valor_do_registro')) Camadas baseadas em Postgis seguem o padrão nome_da_coluna=valor_do_registro.
Windows: openlayers.php?map_layer__lbiomashp_filter=(('[CD_LEGENDA]'='CAATINGA'))&temas=_wbiomashp&layers=_wbiomashp
Linux: openlayers.php?map_layer__lbiomashp_filter=(('[CD_LEGENDA]'='CAATINGA'))&temas=_lbiomashp&layers=_lbiomashp
Windows: openlayers.php?temas=_wbiomashp&largura=800&altura=500
Linux: openlayers.php?temas=_lbiomashp&largura=800&altura=500
Windows: openlayers.php?temas=_wbiomashp,_wlocali&largura=800&altura=500&visiveis=_wbiomashp
Linux: openlayers.php?temas=_lbiomashp,_llocali&largura=800&altura=500&visiveis=_lbiomashp
Windows: openlayers.php?temas=_wbiomashp&largura=800&mapext=-68.39967 -12.16172 -62.67402 -5.366808
Linux: openlayers.php?temas=_lbiomashp&largura=800&mapext=-68.39967 -12.16172 -62.67402 -5.366808
Windows: openlayers.php?temas=_wbiomashp&largura=800&botoes=pan,zoombox,zoomtot,distancia,area,identifica&numzoomlevels=10
Linux: openlayers.php?temas=_lbiomashp&largura=800&botoes=pan,zoombox,zoomtot,distancia,area,identifica&numzoomlevels=10
Windows: openlayers.php?temas=_wbiomashp&largura=800&pontos=-54 -12 -56 -15
Linux: openlayers.php?temas=_lbiomashp&largura=800&pontos=-54 -12 -56 -15
Windows: openlayers.php?temas=_wbiomashp&largura=800&fundo=_wbiomashp
Linux: openlayers.php?temas=_lbiomashp&largura=800&fundo=_lbiomashp
Windows: openlayers.php?temas=_wbiomashp&largura=700&kml=http://localhost/i3geo/aplicmap/dados/sundials.kml
Linux: openlayers.php?temas=_lbiomashp&largura=700&kml=http://localhost/i3geo/aplicmap/dados/sundials.kml