how to overlay WMS layer on mapnik in openscales

99 views
Skip to first unread message

kiran

unread,
Feb 22, 2011, 8:24:16 AM2/22/11
to openscales-dev
Hi all,
I am trying to implement a rich UI map using openscales.So,i
have writen some code.But i am facing some issues.The issues are:

1.I am not able to overlay WMS layer on mapnik.
2.If i try to add two WMS layers it is showing one WMS layer and it is
not displaying Mapnik and another WMS layer.
3.In the below example,i can get WFS but am not getting WMS.

The code is:

<os:Map id="fxmap" width="1280" height="846" zoom="5"
center="77.82494,21.24464" x="0" y="0">
<os:Mapnik name="Mapnik" width="232" height="373"/>

<os:WMSC name="Sea" url="http://localhost:8080/geoserver/wms?"
layers="nis:Sea" projection="EPSG:4326"
transparent="true" format="image/jpeg" styleName="Default Surface
Style"/>

<os:WFS name="Topp States (WFS)" url="http://openscales.org/geoserver/
wfs"
typename="topp:states" projection="EPSG:4326" version="1.0.0"
style="{Style.getDefaultSurfaceStyle()}" />

<os:MousePosition x="10" y="800" displayProjection="EPSG:4326"/>
<os:DragHandler/>
<os:WheelHandler/>
</os:Map>


If anyone knows the solution,Please reply.

Thanks in Advance,
Kiran
Reply all
Reply to author
Forward
0 new messages