Android Google Maps Info window - android

I have to add multiple markers on map , and show their info windows at the same time .
When i add the last marker the previous info window markers automatically gets hidden.Can anyone tell me any solution how can i do this?

That is not possible with InfoWindows as noted by the 2nd sentence on this page. You might try using this library to instead put the text you would be displaying in the InfoWindow in the Marker itself. Be careful with showing too much information on the screen at once, don't want it to get too busy!

Related

How to keep multiple marker bubble info open (shown) (HERE Android SDK)

I'm using HERE Android SDK and I can't seem to make multiple bubble info open. When I click on another marker and show the bubble info, the previous one is closed/hidden. I'd like to keep all the bubble info open if possible or manually close them.
Is there a setting for this or any workaround?
The built-in infobubble is designed to only show one marker at a time. If you want a custom solution you need to build them on your own, easiest with using the MapOverlay that enables your to put android views on fixed positions on the map:
https://developer.here.com/mobile-sdks/documentation/android-hybrid-plus/topics_api_nlp_hybrid_plus/com-here-android-mpa-mapping-mapoverlay.html

Android : Custom Pin Marker with buttons in Google Map API 2

I am working on android tracking application.
I need to show Connected friends on MapView. Each Friends marker contains image(Person image) and two buttons(Make Call and message) .
Note : The two buttons should show after image pressed.
I try this sample http://www.nasc.fr/android/android-using-layout-as-custom-marker-on-google-map-api/. It shows only TextView.
Is there any way to add custom marker with button or any other ideas to achieve this?
Below image shows the map-view that i want to add live views.
Thanks in Advance
If I'm not wrong, you're looking for infowindowadapter. Did you try infowindowadapter ? If not please implement it .
Here is the link
Visit Here
Thanks. Let me know if it helps.
Finally i ended up with my result with the below link
Google Maps Android API v2 - Interactive InfoWindow (like in original android google maps)
Its quiet interesting to hack layouts.
Thanks,
From the Google Maps V2 documentation:
Note: The info window that is drawn is not a live view. The view is rendered as an image (using View.draw(Canvas)) at the time it is returned. This means that any subsequent changes to the view will not be reflected by the info window on the map. To update the info window later (e.g., after an image has loaded), call showInfoWindow(). Furthermore, the info window will not respect any of the interactivity typical for a normal view such as touch or gesture events. However you can listen to a generic click event on the whole info window as described in the section below.
Therefore, you can't add buttons to the markers. An idea could be have that buttons somewhere in your layout and show/hide them when the user selects a marker.

Adding markers on an image

I have an image in a custom imageview, which is a layout of a building. I need to add buttons(or markers like in google maps) in few places on the image with a longclick or drag and drop a button from the top of the screen. How the button(or marker) comes doesnt matter, but the main problem is im unable to get it on top of an image. I want it just like a marker on google map, should be able to perform onclick and onlongclick operations. Should even be able to delete it. After that i need to save my image with those buttons i added in order to load it the next time my app launches, just like my saved places in google maps.
Can anyone please suggest me a best way to do it. I am new to android and I am sorry if the same question has already been asked, I would appreciate if u can give me a link to it.
Thanks in advance.

Ballon on Mapview and also want to get location whenever balloon position changed on Map in android

Recently I show the ubicabs taxi booking app. I found very nice functionality inside it. In this app they have google maps for showing markers, but they have used very good UI component for that. Also I found one more uniqueness is that whenever user moves or change the position of marker through touch it will fetch the current location. One thing that I know is that it is using the onTouchEvent of Overlay but how to create that marker balloon and how to get updated location on the basis of that marker.
I am attaching a preview of that marker here. Also would like to know that how can we scroll the text inside that balloon?
The best overlay open project I have found so far is this one, link. But it is nothing compared to the picture above. Would also like to know how they created this! Great Question and picture ;)

android google map marker

i have several markers on the google map displayed in android, i wish to display more information (information such as - some text,a picture) when a particular marker is clicked. could some one please guide me how can i go about implementing that.
Override onTap() in your ItemizedOverlay and do whatever you want. See here for a sample project that displays a Toast when an item is tapped.
What CommonsWare said.
Or check out this page: http://developer.android.com/resources/tutorials/views/hello-mapview.html
Also, I would recommend launching a new Activity if you're going to display text and an image, unlike the application at the page where only a small text is displayed.

Categories

Resources