Re: [mono-android] MapView exception

2011-12-12 Thread Tomasz Cielecki
The zoom will work as slow as your Internet connection on your mobile phone. There is a property called MaxZoomLevel on the MapView you might want to look at... On Fri, Dec 9, 2011 at 9:56 AM, laurar81 wrote: > Tanks Jonathan. > The MapView mapView = FindViewById(Resource.Id.mapview1) Cast > wor

Re: [mono-android] MapView exception

2011-12-12 Thread laurar81
Tanks Jonathan. The MapView mapView = FindViewById(Resource.Id.mapview1) Cast work!!! I take this opportunity to ask you: Map zoom is so slow! The streets become black. is there a way to set highest level zoom? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/MapView

Re: [mono-android] MapView exception

2011-12-12 Thread laurar81
Example https://github.com/Cheesebaron/MonoDroid.GoogleMapsDemo/blob/master/MapActivity.cs does not work in MyItemizedOverlay. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/MapView-exception-tp5054906p5061114.html Sent from the Mono for Android mailing list archiv

Re: [mono-android] MapView exception

2011-12-08 Thread Jonathan Pryor
On Dec 7, 2011, at 4:01 AM, laurar81 wrote: > In OnCreate find the mapview1 but the cast MapView is invalid exception: > > MapView mapView = (MapView)FindViewById(Resource.Id.mapview1) > > This is the errore message: > > Message "Cannot cast from source type to destination type." strin

Re: [mono-android] MapView exception

2011-12-08 Thread Tomasz Cielecki
I suggest you to check out the MapsDemo in the samples on github: https://github.com/xamarin/monodroid-samples/tree/master/MapsDemo I am not sure if you can get the MapView like that, so an alternative method would be to instantiate it yourself, which isn't that hard. I have a sample I made for 1

[mono-android] MapView exception

2011-12-07 Thread laurar81
I work with mapsdemo example. This is the mapview.xml http://schemas.android.com/apk/res/android"; android:id="@+id/main" android:layout_width="match_parent" android:layout_height="match_parent"> In OnCreate find the mapview1 but the cast MapView is invalid exception: MapView m