|
Site Menu
Search
Visitormap
|
Flamingo MapComponents demo - Demis WMS service
Description This demo shows the Vmap0 based World Map WMS Service served by the Demis Web Map Server. The OGC's Web Mapping Standard (WMS) is used to communicate between Flamingo and the Demis server. Configuration file
<?xml version="1.0" encoding="UTF-8"?> <FLAMINGO xmlns:fmc="fmc" lang="en" tooltipdelay="500" maxwidth="900" maxheight="700" borderwidth="0"> <fmc:Logo id='logo'/> <fmc:ToolGroup listento="map1" left="10" top="10"> <fmc:ToolPan left="60" clickdelay="0" pandelay="0"/> <fmc:ToolZoomin left="0" zoomdelay="0" clickdelay="0"/> <fmc:ToolZoomout left="30" zoomdelay="0" clickdelay="0"/> </fmc:ToolGroup> <fmc:MonitorLayer id="monitor" left="14" top="50" skin="f1" listento="map1"/> <fmc:Map id="map1" left="0" top="0" bottom="bottom" right="right" visible="true" extent="-180,-90,180,90" fullextent="-180,-90,180,90"> <fmc:LayerIdentifyIcon id="identifyicon" /> <fmc:LayerGrid id="grid" gridwidth="10" gridheight="10"/> <fmc:LayerOGWMS id="OG1" format="GIF" url="http://www2.demis.nl/wms/wms.asp?WMS=WorldMap&VERSION=1.1.1&SRS=EPSG:4326&EXCEPTIONS=INIMAGE&BGCOLOR=0xF0F0F0" QUERY_LAYERS="Cities,Settlements,Airports" LAYERS="Builtup areas,Coastlines,Waterbodies,Inundated,Rivers,Streams,Railroads,Highways,Roads,Trails,Borders,Cities,Settlements,Spot elevations,Airports,Ocean features"/> <fmc:LayerOGWMS id="OG2" format="PNG" url="http://www2.demis.nl/wms/wms.asp?WMS=WorldMap&VERSION=1.1.1&SRS=EPSG:4326&EXCEPTIONS=INIMAGE&BGCOLOR=0xF0F0F0" LAYERS="Bathymetry,Countries,Topography,Hillshading"/> </fmc:Map> </FLAMINGO> Notes This demo shows a true basic configuration. Just a single map with two LayerOGWMS components and some tools. To view the configuration file used in this demo click on "expand source" in the box beneath the mapviewer. Note the image format of each service. The first service uses the GIF format and the second returns a PNG image. Both images have transparancy and are overlayed in the viewer to form a seemingly single map. Starting with RC1 you can use the mouse scrollwheel to zoom in and out.
This demo was updated to Flamingo MapComponents 2.0 on 2007-07-20.
The comments are owned by the poster. We aren't responsible for their content.
|

