[android-developers] Re: Multiple points on a map
Yes, Thanks. I think I am all set for now. Thanks for the tip on the adding order. Alex Donnini On Jul 4, 9:24 am, Piwaï py.ri...@gmail.com wrote: Hello, Have you read the MapView tutorial ? It shows how to display multiple items on a map:http://developer.android.com/guide/tutorials/views/hello-mapview.html In this example, you should notice the following lines of code : ListOverlay mapOverlays = mapView.getOverlays(); mapOverlays.add(itemizedoverlay); If you want more overlays (such as another overlay for location), then you just need to add it to the list ;-) . The adding order is important, because it directly impacts the drawing order and the event handling order (clicks..) Regards, Piwaï On Jul 3, 11:58 pm,alexdonninialexdonn...@ieee.org wrote: Hello, I have another quick question. Does your application still work with Android 1.5 (SDK and OS version)? Thanks. Alex Donnini On Jul 3, 4:38 pm,alexdonninialexdonn...@ieee.org wrote: Hello, Thanks. It's as I hoped. Can you sketch for me the approach you used to implement multiple overlays? Alex Donnini On Jul 3, 10:24 am, MrChaz mrchazmob...@googlemail.com wrote: You can have multiple overlays at the same time. In my application I have one for traffic incidents and one for roadworks. On Jul 3, 3:08 pm,alexdonninialexdonn...@ieee.org wrote: Hello, I need advice/pointers on how to display on a map multiple points that change somewhat infrequently based on the device's location. Currently, my application already displays in real-time the device's changing location on a map. I can also easily display the location of one of the other points of interest. However, I have not figured out a way to have both displayed on a map at the same time. Nay help, hint, pointer, advice, would be greatly appreciated. Thanks. Alex Donnini --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Multiple points on a map
I'm having an issue with overlays it seems when I use a dialog to add a new overlay, the new marker isn't updated until I again click on the screen. Any idea why this is? On Jul 4, 9:24 am, Piwaï py.ri...@gmail.com wrote: Hello, Have you read the MapView tutorial ? It shows how to display multiple items on a map:http://developer.android.com/guide/tutorials/views/hello-mapview.html In this example, you should notice the following lines of code : ListOverlay mapOverlays = mapView.getOverlays(); mapOverlays.add(itemizedoverlay); If you want more overlays (such as another overlay for location), then you just need to add it to the list ;-) . The adding order is important, because it directly impacts the drawing order and the event handling order (clicks..) Regards, Piwaï On Jul 3, 11:58 pm, alexdonnini alexdonn...@ieee.org wrote: Hello, I have another quick question. Does your application still work with Android 1.5 (SDK and OS version)? Thanks. Alex Donnini On Jul 3, 4:38 pm, alexdonnini alexdonn...@ieee.org wrote: Hello, Thanks. It's as I hoped. Can you sketch for me the approach you used to implement multiple overlays? Alex Donnini On Jul 3, 10:24 am, MrChaz mrchazmob...@googlemail.com wrote: You can have multiple overlays at the same time. In my application I have one for traffic incidents and one for roadworks. On Jul 3, 3:08 pm,alexdonninialexdonn...@ieee.org wrote: Hello, I need advice/pointers on how to display on a map multiple points that change somewhat infrequently based on the device's location. Currently, my application already displays in real-time the device's changing location on a map. I can also easily display the location of one of the other points of interest. However, I have not figured out a way to have both displayed on a map at the same time. Nay help, hint, pointer, advice, would be greatly appreciated. Thanks. Alex Donnini --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Multiple points on a map
Hello, Have you read the MapView tutorial ? It shows how to display multiple items on a map: http://developer.android.com/guide/tutorials/views/hello-mapview.html In this example, you should notice the following lines of code : ListOverlay mapOverlays = mapView.getOverlays(); mapOverlays.add(itemizedoverlay); If you want more overlays (such as another overlay for location), then you just need to add it to the list ;-) . The adding order is important, because it directly impacts the drawing order and the event handling order (clicks..) Regards, Piwaï On Jul 3, 11:58 pm, alexdonnini alexdonn...@ieee.org wrote: Hello, I have another quick question. Does your application still work with Android 1.5 (SDK and OS version)? Thanks. Alex Donnini On Jul 3, 4:38 pm, alexdonnini alexdonn...@ieee.org wrote: Hello, Thanks. It's as I hoped. Can you sketch for me the approach you used to implement multiple overlays? Alex Donnini On Jul 3, 10:24 am, MrChaz mrchazmob...@googlemail.com wrote: You can have multiple overlays at the same time. In my application I have one for traffic incidents and one for roadworks. On Jul 3, 3:08 pm,alexdonninialexdonn...@ieee.org wrote: Hello, I need advice/pointers on how to display on a map multiple points that change somewhat infrequently based on the device's location. Currently, my application already displays in real-time the device's changing location on a map. I can also easily display the location of one of the other points of interest. However, I have not figured out a way to have both displayed on a map at the same time. Nay help, hint, pointer, advice, would be greatly appreciated. Thanks. Alex Donnini --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Multiple points on a map
You can have multiple overlays at the same time. In my application I have one for traffic incidents and one for roadworks. On Jul 3, 3:08 pm, alexdonnini alexdonn...@ieee.org wrote: Hello, I need advice/pointers on how to display on a map multiple points that change somewhat infrequently based on the device's location. Currently, my application already displays in real-time the device's changing location on a map. I can also easily display the location of one of the other points of interest. However, I have not figured out a way to have both displayed on a map at the same time. Nay help, hint, pointer, advice, would be greatly appreciated. Thanks. Alex Donnini --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Multiple points on a map
Hello, Thanks. It's as I hoped. Can you sketch for me the approach you used to implement multiple overlays? Alex Donnini On Jul 3, 10:24 am, MrChaz mrchazmob...@googlemail.com wrote: You can have multiple overlays at the same time. In my application I have one for traffic incidents and one for roadworks. On Jul 3, 3:08 pm,alexdonninialexdonn...@ieee.org wrote: Hello, I need advice/pointers on how to display on a map multiple points that change somewhat infrequently based on the device's location. Currently, my application already displays in real-time the device's changing location on a map. I can also easily display the location of one of the other points of interest. However, I have not figured out a way to have both displayed on a map at the same time. Nay help, hint, pointer, advice, would be greatly appreciated. Thanks. Alex Donnini --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Multiple points on a map
Hello, I have another quick question. Does your application still work with Android 1.5 (SDK and OS version)? Thanks. Alex Donnini On Jul 3, 4:38 pm, alexdonnini alexdonn...@ieee.org wrote: Hello, Thanks. It's as I hoped. Can you sketch for me the approach you used to implement multiple overlays? Alex Donnini On Jul 3, 10:24 am, MrChaz mrchazmob...@googlemail.com wrote: You can have multiple overlays at the same time. In my application I have one for traffic incidents and one for roadworks. On Jul 3, 3:08 pm,alexdonninialexdonn...@ieee.org wrote: Hello, I need advice/pointers on how to display on a map multiple points that change somewhat infrequently based on the device's location. Currently, my application already displays in real-time the device's changing location on a map. I can also easily display the location of one of the other points of interest. However, I have not figured out a way to have both displayed on a map at the same time. Nay help, hint, pointer, advice, would be greatly appreciated. Thanks. Alex Donnini --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---