WMS Problem

17 views
Skip to first unread message

alperkizilgil

unread,
Jan 17, 2012, 3:16:51 AM1/17/12
to openscales-dev
Hi Everyone,

I have a problem. I wanna display my map on geoserver in flex with wms
control. But I couldn't do it. Please help me!

<os:Map id="fxmap"
width="512"
height="356"
x="0"
y="0">

<os:WMS name="wms"
url="http://localhost:8282/geoserver/wms"
projection="EPSG:2320"
layers="belsis:omahalle_MAHALLE_Polygons"

/>


<os:DragHandler/>
<os:ClickHandler/>
<os:WheelHandler/>

<os:MousePosition x="10"
y="{fxmap.height-20}"
displayProjection="EPSG:2320"
/>
</os:Map>

I couldn't understand where is the problem...

Krob

unread,
Feb 3, 2012, 4:15:04 AM2/3/12
to openscales-dev
I think you need to set your <os:Map>'s center and resolution
properties.

Mike C

unread,
Feb 9, 2012, 2:15:30 AM2/9/12
to openscales-dev
Argh! :-)

Did you look at the documentation tutorials?

http://openscales.org/documentation/tutorials/current/tutorial-api-2.html

-Mike

Reply all
Reply to author
Forward
0 new messages