I fixed the problem by getting rid of
<Legend id="wfsLegend">
<htmlTagId>legend</htmlTagId>
</Legend>
from <FeatureCollection id="gml2FeatureTemplate">
<method>post</method>
<widgets>
...
in config.xml
hzhu wrote:
>
> I use OwsContext and legend is inside as below
> <OwsContext id="mainMap">
> <defaultModelUrl>MaMap.xml</defaultModelUrl>
>
> <widgets>
> <MapPaneOL id="mainMapWidget">
> <htmlTagId>mainMapPane</htmlTagId>
> <fixedSize>true</fixedSize>
> </MapPaneOL>
>
> <MapScaleText id="mapScaleText"/>
> <!--
> <MapScaleBar id="mapScaleBar"/>
> -->
> <AoiForm id="aoiForm">
> <stylesheet>AoiForm.xsl</stylesheet>
> </AoiForm>
>
> <!--<CursorTrack id="cursorTrack"/>-->
>
> <ModelUrlInput id="urlInput"/>
>
> <WebServiceForm id="webServiceForm">
> <htmlTagId>webServiceForm</htmlTagId>
> <targetModel>gml2FeatureTemplate</targetModel>
> <stylesheet>lib/widget/Null.xsl</stylesheet>
> <requestStylesheet>wfs_GetFeature.xsl</requestStylesheet>
> <webServiceUrl>PointMap.aspx</webServiceUrl>
>
> <!--<webServiceUrl>http://eo1.geobliki.com/wfs</webServiceUrl>-->
> </WebServiceForm>
>
> <Legend id="legend">
> <!--<stylesheet>LegendOpaque.xsl</stylesheet>-->
> </Legend>
> <LegendGraphic id="legendGraphic" />
> </widgets>
>
> <tools>
> <History id="extentHistory"/>
> </tools>
> </OwsContext>
>
>
> hzhu wrote:
>>
>> This question is specific for our respected Andreas Hocevar.
>>
>> Hi, Andreas,
>>
>> I am try to build a GIS web site mimic your GeoBliki exaple. I almost
>> get it done except a error message "msxml3.dll: Reference to undeclared
>> namespace prefix: 'wmc'." I believe I declared wms, but found out that
>> http://www.opengis.net/context doesn't exist. Could you please comment?
>> Many thanks.
>>
>> Huaining
>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/where-is-xmlns%3Awmc%3D%22http%3A--www.opengis.net-context%22-tp17733192p17734541.html
Sent from the MapBuilder Users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users