Select to view content in your preferred language

Pan and zoom on a default map in c# wpf sdk does not change the extent

2269
0
06-13-2016 08:57 AM
JimBramnick
Deactivated User

When I instantiate a new map in the wpf sdk in geometry class.

These are my calls

var map=new Map()

map.extent=new Envelope(100,100,100,100)

map.zoomto(new mapPoint(1,1))

map.panto(new MapPoint(20,20))

and the extent never changes

Thank you for your consideration

0 Kudos
0 Replies