I tried to load S57 map by Esri.ArcGISRuntime.Hydrography. it works fine and i can show the map.
Now i'm tring to develop an app for ship, which need to draw some circles and triangles on the map.
i didn't see any examples to show me how to start with.
i'm quite new on this, Can anyone help give me a hint where to start from, or where i can get a sample.
thanks
Mei Tao
The S57 is just a single layer in the map, which is displayed by the map view.
To draw additional shapes over the top, the easiest way is to add a GraphicsOverlay to the MapView, and then to add individual Graphics to the overlay. The graphics will each have a Geometry (the circle or triangle, defined by as a sequence of Points), a Symbol (defining how it looks) and optionally some attributes.
Check out these samples:
Be sure to check out the tutorials too. Since you're new to the Runtime, I'd recommend taking some time to go through a few of them. This one in particular would be useful to you:
Hope that helps.
thanks very muchNicholas Furness, I followed your instructions and make it work.
i still have some problem, like how do draw circle or how to make these symbols update position while moving.
but this is a good start. i can tried to solve those on my own first.
thanks again.