mapbox-android-demo icon indicating copy to clipboard operation
mapbox-android-demo copied to clipboard

Add labs example showing how to create indoor map

Open cammace opened this issue 10 years ago • 12 comments

The style API should make this possible now using a similar method to how I previously did it with the old SDK.

cc: @zugaldia

cammace avatar Sep 16 '16 16:09 cammace

Here's what I have so far:

ezgif com-video-to-gif 9

Things that still need to be done:

  • [x] Show a multistory building with UI to toggle between them
  • [x] Room number/name labels

cammace avatar Sep 26 '16 21:09 cammace

This is a great candidate for the blog once it's ready. per chat with @cammace, we'll need to ship update 4.2.0 first before it can be blogged. Timeline on that update is late October.

@jenyuhk flagging for you - we had interest in this feature at DevFestDC. @cammace can you be point person on getting this into the blog pipeline? You'll want to cut a ticket in /blog repo with ticket title including target merge date.

npitcher avatar Sep 27 '16 15:09 npitcher

Can't wait to send this out to folks who write in about indoor mapping - looks great @cammace !

AidenQuinn avatar Oct 11 '16 13:10 AidenQuinn

Just noting here that this example will require us to set the right expectations. In particular, that this is not (yet) a full replacement for the indoor APIs that Google provides on Android (e.g. IndoorBuilding). Instead this is one more example of how the Runtime Style API enables developers to do pretty much anything they want with the map, like start building indoor experiences.

zugaldia avatar Oct 11 '16 15:10 zugaldia

I've now changed the location of the indoor map to the White house along with made the floor level buttons only display when the user is hovering over the indoor map area, otherwise the fade out.

ezgif com-video-to-gif 7

Next step will be to add the second story GeoJSON file.

cammace avatar Oct 26 '16 20:10 cammace

Indoor map example has been merged.

cammace avatar Nov 11 '16 19:11 cammace

Hey Cammace!

How could i use sdk navigation to create a navigation inside an indoor map? Let me explain better, I need to create a navigation application for internal locations that shows the route and navigates from one place to another. To make the location of the user without using the gps, I will use qr codes scattered throughout the building to give me the exact location of the user and then show the route and make the navigation to the destination. But I'm not sure if it's possible to do this using the mapbox, since it's geared towards external applications. I would be grateful if anyone could help me.

phfeitosaa avatar May 07 '17 14:05 phfeitosaa

@phfeitosaa Thanks for the question and for trying the Navigation SDK. We're using this repository and its issues to track problems with the Mapbox demo app. For general support questions, please contact support.

zugaldia avatar May 08 '17 13:05 zugaldia

But how do I create indoor GeoJson? I have no clue

Sadmansamee avatar Mar 30 '19 04:03 Sadmansamee

hey @Sadmansamee , thanks for looking into Mapbox. The answer kind of depends on what you mean by indoor GeoJSon. You can still use Mapbox to create floor layout information as seen in https://github.com/mapbox/mapbox-android-demo/issues/147#issuecomment-256470058 (example code here). There's also Indoor3DMapActivity. You can use FillLayer and LineLayers to mark various indoor areas.

Mapwize is a full platform (which uses Mapbox) for more custom indoor information https://blog.mapbox.com/indoor-maps-with-mapwize-ef645fe50eb4

langsmith avatar Apr 01 '19 17:04 langsmith

@langsmith I think Mapwize is great but it's a bit too pricey for our need, another question we add navigation between places inside Indoor map?

Sadmansamee avatar Apr 02 '19 13:04 Sadmansamee

@Sadmansamee , I'm going to direct you to our awesome Support team via https://support.mapbox.com/hc/en-us/requests/new?ticket_form_id=360000291231 so that you can continue the conversation with them. It'll be a better avenue than back-and-forth on this ticket.

They'll be able to chat with you about your end goal(s) and what options you have with the flexible Mapbox platform.

langsmith avatar Apr 02 '19 23:04 langsmith