MapsSDK-Unity icon indicating copy to clipboard operation
MapsSDK-Unity copied to clipboard

Geospatial services

Open kircher1 opened this issue 6 years ago • 3 comments

Expand the Maps SDK to support headless APIs, i.e. APIs that don't depend directly on the MapRenderer, to do things like geo-coding, reverse geo-coding, or route finding. This would basically provide a Unity-compatible interface over some of the existing Bing Maps APIs, but would use the managed Geospatial types to inter-op easily with the existing classes in the Maps SDK.

kircher1 avatar Apr 09 '19 07:04 kircher1

Any progress on it?

jimmy12day avatar Aug 07 '19 22:08 jimmy12day

Geocoding APIs are available as of version 0.3.0. Refer to the MapLocationFinder class in code to make geocoding/rev-geocoding requests.

The code for MapLocationFinder and related classes will be availble shortly in GitHub. We're also planning an additional scene in the Sample Project to demonstrate how to use these new APIs. I'll reply back when that is available.

To add more context to this feature request in general, the "Geospatial services" will provide a Unity wrapper over the Bing Maps REST APIs. The first set of APIs we've added (geocoding) are a specific subset of these REST APIs. The plan is to add more API coverage in the future though, so if there are specific REST APIs that would be useful to have a Unity wrapper for, this is a good thread to enumerate them! 😄

kircher1 avatar Aug 27 '19 00:08 kircher1

Quick update:

  • The sample project now has a MapServicesExample scene that uses the MapLocationFinder API.
  • API docs have been added to the wiki.
  • The source code for the map services has been committed to the supporting scripts here.

kircher1 avatar Aug 30 '19 23:08 kircher1