I would like to implement an indoor positioning system on an Android device (galaxy tab)
I have a picture of the map I intend to use. However I am not sure what is the right way to do
this.
I want my application to have some of the abilities of google maps, such as zoom and scroll, and the ability to use overlay items.
However, as I understand, it is not possible to use google maps with a custom map.
What is the right way to do this? Is there a library which enables us to zoom and scroll images/maps?
Can you use the overlay package without google maps? If not, how can you present a location in such a map?
Thanks in advance
Ariel
Have a look at these two Android apps:
MapCalibrator by Martin Ohlin
Custom Maps by Marlo Teittinen
To develop a full-blown indoor navigation system, have a look at these platforms:
http://insiteo.com/
http://cloudmade.com/
Googling aroud for "indoor positioning" and/or "indoor navigation" you will find many more solutions.
If it was a large location - say a shopping centre - you could possibly map it out in a KML layer and add it to google maps but I'm not sure how well that would work. Google maps does not allow the user to zoom in very far - probably not far enough for your needs if you want to map down to the room level.
Here is a tutorial on "Map your business inside and out".
The google maps API v3 supports "custom maps"
Discussions from the v3 group
one example from a search.
Related
I need to implement a map for a shopping mall in my app. This map needs to have a way to visually mark the fastest path to go from one place to another.
I currently have two options in mind. I could use the Google Maps API, overlay the shopping mall's picture and try to use some algorithm to mark the best route. Or, I could just place the picture and manually make an algorithm to mark the path (probably Dijkstra).
Yet, it's my first time working with Android, and I don't really know which one could work the best, and which libraries I could use.
I'd appreciate any tip or suggestion.
Google map has an android api that you can directly embed google maps into your application. You can also draw overlays using its api. Take a look at
google map android api
I'm looking to create a circle menu for markers in my app that uses Google maps.
I've found this online example of what I am trying to do:http://demo-ee.com/index.php/examples/view/circle-menu-for-marker-with-mx-google-maps-for-expressionengine#
The problem is that this is for google maps in a webview, I'm looking to do this on Android.
Does anyone know if this is possible to achieve with google maps for Android and if it is, how much work would be involved to do it?
Is it possible to rebuild this example code in java to use in an Android app?
thanks
I put this as an answer and not as a comment, but I don't think you can achieve the same.
First of all, on android you don't have the "hover" callback for maps, you can only use the onMarkerClick listener.
You could try to build a custom infowindow (there are a few tutorial online but never followed, so I can't give you a trusted one, you have to try :( ) and check if the iw can be placed around your item. Unfortunately on android there is a limited set of functionalities, but to be honest, I would explore a different UX for that (cards, dialogfragment or other).
Check how google maps behaves when clicking on a place (a view scrollable from bottom with details).
You can also think about using a toolbar/expandingtoolbar
I need to develop an application for Android that uses the Google Maps API.
I the need to use a marker that show me my position and rotation exactly like the one shown in the figure (Link: http://3.bp.blogspot.com/-Sy61Gjk7aKA/Tw2Lo553AiI/AAAAAAAAAVI/oJ7tiGb-lts/s1600/2.jpg).
Is it possible to realize?
I wrote an answer to a similar question: Google Map Heading Marker or Indicator
I haven't tried it in 3D, but there's no reason why it shouldn't work.
How can I use Google maps in Android app so that it only shows my country?
I mean so that the rest of the world is not featured in the application.
Check out one of Mike Williams' great GMaps tutorials - he shows you how to limit zoom and pan in your map.
If you want some areas to be non-visible, you can try this one: I think that's closest to what you want (the example actually does a similar thing to what you want, using USA as the example).
well i was able to find loads of information on how to create my own custom overlays onto the map, but none on how can i use the ones that google already has put on.
I basically want to use all the overlays of one type (say the Hotel overlay icons) and get their geoPoints and then use them in any way i want...right now i have to manually get the geoPoint of every such hotel overlay and then use them, which is pretty painful considering google has already marked them out...but i have no idea how can i use them..
Any idea how can i do this?
Those are not available to Android SDK developers -- they are part of the proprietary Google Maps application. The only pre-built overlay available to SDK developers is MyLocationOverlay.