Skip to content

Commit 37e063d

Browse files
authored
Merge pull request #112193 from stevemunk/migrate-from-bing-maps-web-app
Create end links, fix minor grammatical issues.
2 parents c65f535 + ec7ec84 commit 37e063d

7 files changed

+359
-372
lines changed

articles/azure-maps/migrate-from-bing-maps-web-app.md

Lines changed: 78 additions & 101 deletions
Large diffs are not rendered by default.

articles/azure-maps/migrate-from-bing-maps-web-services.md

Lines changed: 53 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Azure Maps also supports:
120120
Azure Maps also supports:
121121

122122
* `typeahead` - Specifies if the query is interpreted as a partial input and the search enters predictive mode (autosuggest/autocomplete).
123-
* `countrySet` – A comma-separated list of ISO2 countries codes in which to limit the search to.
123+
* `countrySet` – A comma-separated list of ISO2 country codes in which to limit the search to.
124124
* `lat`/`lon`, `topLeft`/`btmRight`, `radius` – Specify user location and area to make the results more locally relevant.
125125
* `ofs` - Page through the results in combination with `maxResults` parameter.
126126

@@ -219,7 +219,7 @@ The following table cross-references the Bing Maps API parameters with the compa
219219
| `culture` (`c`) | `language` – For more information, see [Localization support in Azure Maps]. |
220220
| `userRegion` (`ur`) | `view` – For more information, see [Azure Maps supported views]. |
221221

222-
The Azure Maps routing API also supports truck routing within the same API. The following table cross-references the additional Bing Maps truck routing parameters with the comparable API parameters in Azure Maps.
222+
The Azure Maps routing API also supports truck routing within the same API. The following table cross-references the other Bing Maps truck routing parameters with the comparable API parameters in Azure Maps.
223223

224224
| Bing Maps API parameter | Comparable Azure Maps API parameter |
225225
|------------------------------------------|--------------------------------------------|
@@ -285,7 +285,7 @@ The following table cross-references the Bing Maps API parameters with the compa
285285
| `culture` (`c`) | `language` – For more information, see [Localization support in Azure Maps]. |
286286
| `userRegion` (`ur`) | `view` – For more information, see [Azure Maps supported views]. |
287287

288-
The Azure Maps routing API also supports truck routing parameter within the same API to ensure logical paths are calculated. The following table cross-references the additional Bing Maps truck routing parameters with the comparable API parameters in Azure Maps.
288+
The Azure Maps routing API also supports truck routing parameter within the same API to ensure logical paths are calculated. The following table cross-references the other Bing Maps truck routing parameters with the comparable API parameters in Azure Maps.
289289

290290
| Bing Maps API parameter | Comparable Azure Maps API parameter |
291291
|-----------------------------------------|--------------------------------------------|
@@ -313,7 +313,7 @@ The Azure Maps route directions API doesn't currently return speed limit data, h
313313

314314
The Azure Maps Web SDK uses vector tiles to render the maps. These vector tiles contain the raw road geometry information and can be used to calculate the nearest road to a coordinate for simple snapping of individual coordinates. This is useful when you want the coordinates to visually appear over roads and you're already using the Azure Maps Web SDK to visualize the data.
315315

316-
This approach however will only snap to the road segments that are loaded within the map view. When zoomed out at country/region level there may be no road data, so snapping can’t be done, however at that zoom level a single pixel can represent the area of several city blocks so snapping isn’t needed. To address this, the snapping logic can be applied every time the map has finished moving. To see a fully functional example of this snapping logic, see the [Basic snap to road logic] sample in the Azure Maps samples.
316+
This approach however only snaps to the road segments that are loaded within the map view. When zoomed out at country/region level there may be no road data, so snapping can’t be done, however at that zoom level a single pixel can represent the area of several city blocks so snapping isn’t needed. To address this, the snapping logic can be applied every time the map has finished moving. To see a fully functional example of this snapping logic, see the [Basic snap to road logic] sample in the Azure Maps samples.
317317

318318
**Using the Azure Maps vector tiles directly to snap coordinates**
319319

@@ -384,7 +384,7 @@ In Azure Maps, pushpins can also be added to a static map image by specifying th
384384

385385
> `&pins=iconType|pinStyles||pinLocation1|pinLocation2|...`
386386
387-
Additional styles can be used by adding more `pins` parameters to the URL with a different style and set of locations.
387+
More styles can be used by adding more `pins` parameters to the URL with a different style and set of locations.
388388

389389
Regarding pin locations, Azure Maps requires the coordinates to be in `longitude latitude` format whereas Bing Maps uses `latitude,longitude` format. Also note that **there is a space, not a comma** separating longitude and latitude in Azure Maps.
390390

@@ -428,7 +428,7 @@ In Bing Maps, lines, and polygons can be added to a static map image by using th
428428

429429
> `&drawCurve=shapeType,styleType,location1,location2...`
430430
431-
More styles can be used by adding additional `drawCurve` parameters to the URL with a different style and set of locations.
431+
More styles can be used by adding more `drawCurve` parameters to the URL with a different style and set of locations.
432432

433433
Locations in Bing Maps are specified with the format `latitude1,longitude1_latitude2,longitude2_…`. Locations can also be encoded.
434434

@@ -674,84 +674,68 @@ Learn more about the Azure Maps REST services.
674674
> [!div class="nextstepaction"]
675675
> [Best practices for using the search service](how-to-use-best-practices-for-search.md)
676676
677+
[Address reverse geocoder]: /rest/api/maps/search/getsearchaddressreverse
678+
[Authentication with Azure Maps]: azure-maps-authentication.md
679+
[Azure Cosmos DB geospatial capabilities overview]: ../cosmos-db/sql-query-geospatial-intro.md
677680
[Azure Maps account]: quick-demo-map-app.md#create-an-azure-maps-account
678-
[subscription key]: quick-demo-map-app.md#get-the-subscription-key-for-your-account
679-
680-
[Search]: /rest/api/maps/search
681-
[Route directions]: /rest/api/maps/route/getroutedirections
682-
[Route Matrix]: /rest/api/maps/route/postroutematrixpreview
683-
[Render]: /rest/api/maps/render/getmapimage
684-
[Route Range]: /rest/api/maps/route/getrouterange
685-
[POST Route directions]: /rest/api/maps/route/postroutedirections
686-
[Route]: /rest/api/maps/route
687-
[Time Zone]: /rest/api/maps/timezone
688-
689681
[Azure Maps Creator]: creator-indoor-maps.md
690-
[Spatial operations]: /rest/api/maps/spatial
691-
[Map Tiles]: /rest/api/maps/render/getmaptile
692-
[Map imagery tile]: /rest/api/maps/render/getmapimagerytile
682+
[Azure Maps supported views]: supported-languages.md#azure-maps-supported-views
683+
[Azure SQL Spatial – Query nearest neighbor]: /sql/relational-databases/spatial/query-spatial-data-for-nearest-neighbor
684+
[Azure SQL Spatial Data Types overview]: /sql/relational-databases/spatial/spatial-data-types-overview
685+
[Basic snap to road logic]: https://samples.azuremaps.com/?sample=basic-snap-to-road-logic
686+
[Batch address geocoding]: /rest/api/maps/search/postsearchaddressbatchpreview
687+
[Batch address reverse geocoder]: /rest/api/maps/search/postsearchaddressreversebatchpreview
688+
[Batch route]: /rest/api/maps/route/postroutedirectionsbatchpreview
693689
[Batch routing]: /rest/api/maps/route/postroutedirectionsbatchpreview
694-
[Traffic]: /rest/api/maps/traffic
695-
[Geolocation API]: /rest/api/maps/geolocation/get-ip-to-location
696-
[Weather services]: /rest/api/maps/weather
697-
698-
[Best practices for Azure Maps Search service]: how-to-use-best-practices-for-search.md
699690
[Best practices for Azure Maps Route service]: how-to-use-best-practices-for-routing.md
700-
691+
[Best practices for Azure Maps Search service]: how-to-use-best-practices-for-search.md
692+
[Calculate route]: /rest/api/maps/route/getroutedirections
693+
[Choose the right pricing tier in Azure Maps]: choose-pricing-tier.md
694+
[Cross street reverse geocoder]: /rest/api/maps/search/getsearchaddressreversecrossstreet
701695
[free account]: https://azure.microsoft.com/free/
702-
[manage authentication in Azure Maps]: how-to-manage-authentication.md
703-
704696
[Free-form address geocoding]: /rest/api/maps/search/getsearchaddress
705-
[Structured address geocoding]: /rest/api/maps/search/getsearchaddressstructured
706-
[Batch address geocoding]: /rest/api/maps/search/postsearchaddressbatchpreview
707-
[Fuzzy search]: /rest/api/maps/search/getsearchfuzzy
708697
[Fuzzy batch search]: /rest/api/maps/search/postsearchfuzzybatchpreview
709-
710-
[Authentication with Azure Maps]: azure-maps-authentication.md
698+
[Fuzzy search]: /rest/api/maps/search/getsearchfuzzy
699+
[Geolocation API]: /rest/api/maps/geolocation/get-ip-to-location
711700
[Localization support in Azure Maps]: supported-languages.md
712-
[Azure Maps supported views]: supported-languages.md#azure-maps-supported-views
713-
714-
[Address reverse geocoder]: /rest/api/maps/search/getsearchaddressreverse
715-
[Cross street reverse geocoder]: /rest/api/maps/search/getsearchaddressreversecrossstreet
716-
[Batch address reverse geocoder]: /rest/api/maps/search/postsearchaddressreversebatchpreview
717-
718-
[POI search]: /rest/api/maps/search/get-search-poi
701+
[manage authentication in Azure Maps]: how-to-manage-authentication.md
702+
[Map image render]: /rest/api/maps/render/getmapimagerytile
703+
[Map imagery tile]: /rest/api/maps/render/getmapimagerytile
704+
[Map Tiles]: /rest/api/maps/render/getmaptile
705+
[nearby search]: /rest/api/maps/search/getsearchnearby
706+
[NetTopologySuite]: https://github.com/NetTopologySuite/NetTopologySuite
719707
[POI category search]: /rest/api/maps/search/get-search-poi-category
720-
[Calculate route]: /rest/api/maps/route/getroutedirections
721-
[Batch route]: /rest/api/maps/route/postroutedirectionsbatchpreview
722-
723-
[Snap points to logical route path]: https://samples.azuremaps.com/?sample=snap-points-to-logical-route-path
724-
[Basic snap to road logic]: https://samples.azuremaps.com/?sample=basic-snap-to-road-logic
725-
708+
[POI search]: /rest/api/maps/search/get-search-poi
709+
[POST Route directions]: /rest/api/maps/route/postroutedirections
726710
[quadtree tile pyramid math]: zoom-levels-and-tile-grid.md
727-
[turf js]: https://turfjs.org
728-
[NetTopologySuite]: https://github.com/NetTopologySuite/NetTopologySuite
729-
730-
[Map image render]: /rest/api/maps/render/getmapimagerytile
731-
[Supported map styles]: supported-map-styles.md
732711
[Render custom data on a raster map]: how-to-render-custom-data.md
733-
712+
[Render]: /rest/api/maps/render/getmapimage
713+
[Route directions]: /rest/api/maps/route/getroutedirections
714+
[Route Matrix]: /rest/api/maps/route/postroutematrixpreview
715+
[Route Range]: /rest/api/maps/route/getrouterange
716+
[Route]: /rest/api/maps/route
734717
[Search along route]: /rest/api/maps/search/postsearchalongroute
735-
[Search within geometry]: /rest/api/maps/search/postsearchinsidegeometry
736-
[nearby search]: /rest/api/maps/search/getsearchnearby
737-
[Search Polygon API]: /rest/api/maps/search/getsearchpolygon
738718
[Search for a location using Azure Maps Search services]: how-to-search-for-address.md
739-
719+
[Search Polygon API]: /rest/api/maps/search/getsearchpolygon
720+
[Search within geometry]: /rest/api/maps/search/postsearchinsidegeometry
721+
[Search]: /rest/api/maps/search
722+
[Snap points to logical route path]: https://samples.azuremaps.com/?sample=snap-points-to-logical-route-path
723+
[Spatial operations]: /rest/api/maps/spatial
724+
[Structured address geocoding]: /rest/api/maps/search/getsearchaddressstructured
725+
[subscription key]: quick-demo-map-app.md#get-the-subscription-key-for-your-account
726+
[Supported map styles]: supported-map-styles.md
727+
[Time zone by coordinate]: /rest/api/maps/timezone/gettimezonebycoordinates
728+
[Time zone by ID]: /rest/api/maps/timezone/gettimezonebyid
729+
[Time zone Enum IANA]: /rest/api/maps/timezone/gettimezoneenumiana
730+
[Time zone Enum Windows]: /rest/api/maps/timezone/gettimezoneenumwindows
731+
[Time zone IANA version]: /rest/api/maps/timezone/gettimezoneianaversion
732+
[Time zone Windows to IANA]: /rest/api/maps/timezone/gettimezonewindowstoiana
733+
[Time Zone]: /rest/api/maps/timezone
740734
[Traffic flow segments]: /rest/api/maps/traffic/gettrafficflowsegment
741735
[Traffic flow tiles]: /rest/api/maps/traffic/gettrafficflowtile
742736
[Traffic incident details]: /rest/api/maps/traffic/gettrafficincidentdetail
743737
[Traffic incident tiles]: /rest/api/maps/traffic/gettrafficincidenttile
744738
[Traffic incident viewport]: /rest/api/maps/traffic/gettrafficincidentviewport
745-
746-
[Time zone by ID]: /rest/api/maps/timezone/gettimezonebyid
747-
[Time zone Windows to IANA]: /rest/api/maps/timezone/gettimezonewindowstoiana
748-
[Time zone Enum IANA]: /rest/api/maps/timezone/gettimezoneenumiana
749-
[Time zone Enum Windows]: /rest/api/maps/timezone/gettimezoneenumwindows
750-
[Time zone IANA version]: /rest/api/maps/timezone/gettimezoneianaversion
751-
[Time zone by coordinate]: /rest/api/maps/timezone/gettimezonebycoordinates
752-
753-
[Choose the right pricing tier in Azure Maps]: choose-pricing-tier.md
754-
755-
[Azure SQL Spatial Data Types overview]: /sql/relational-databases/spatial/spatial-data-types-overview
756-
[Azure SQL Spatial – Query nearest neighbor]: /sql/relational-databases/spatial/query-spatial-data-for-nearest-neighbor
757-
[Azure Cosmos DB geospatial capabilities overview]: ../cosmos-db/sql-query-geospatial-intro.md
739+
[Traffic]: /rest/api/maps/traffic
740+
[turf js]: https://turfjs.org
741+
[Weather services]: /rest/api/maps/weather

articles/azure-maps/migrate-from-bing-maps.md

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ The following table provides a high-level list of Bing Maps features and the rel
6767
| Traffic Incidents ||
6868
| Configuration driven maps | N/A |
6969

70-
<sup>1</sup> While there is no direct replacement for the Bing Maps *Snap to road* service, this functionality can be implemented using the Azure Maps [Route - Get Route Directions] REST API. For a complete code sample demonstrating the snap to road functionality, see the [Basic snap to road logic] sample that demonstrates how to snap individual points to the rendered roads on the map. Also see the [Snap points to logical route path] sample that shows how to snap points to the road network to form a logical path.
70+
<sup>1</sup> While there's no direct replacement for the Bing Maps *Snap to road* service, this functionality can be implemented using the Azure Maps [Route - Get Route Directions] REST API. For a complete code sample demonstrating the snap to road functionality, see the [Basic snap to road logic] sample that demonstrates how to snap individual points to the rendered roads on the map. Also see the [Snap points to logical route path] sample that shows how to snap points to the road network to form a logical path.
7171

7272
Bing Maps provides basic key-based authentication. Azure Maps provides both basic key-based authentication and highly secure, Azure Active Directory authentication.
7373

@@ -153,30 +153,31 @@ There are no resources that require cleanup.
153153
Learn the details of how to migrate your Bing Maps application with these articles:
154154

155155
> [!div class="nextstepaction"]
156-
> [Migrate a web app](migrate-from-bing-maps-web-app.md)
156+
> [Migrate a web app]
157157
158+
[Azure Active Directory authentication]: azure-maps-authentication.md#azure-ad-authentication
158159
[Azure Maps account]: quick-demo-map-app.md#create-an-azure-maps-account
159-
[subscription key]: quick-demo-map-app.md#get-the-subscription-key-for-your-account
160-
[free Azure account]: https://azure.microsoft.com/free/
161-
[Azure portal]: https://portal.azure.com/
162-
[manage authentication in Azure Maps]: how-to-manage-authentication.md
160+
[Azure Maps Blog]: https://aka.ms/AzureMapsTechBlog
161+
[Azure Maps code samples]: https://aka.ms/AzureMapsSamples
162+
[Azure Maps developer forums]: https://aka.ms/AzureMapsForums
163+
[Azure Maps Feedback (UserVoice)]: https://aka.ms/AzureMapsFeedback
163164
[Azure Maps is also available in Power BI]: power-bi-visual-get-started.md
164-
[Microsoft Azure terms of use]: https://www.microsoftvolumelicensing.com/DocumentSearch.aspx?Mode=3&DocumentTypeId=31
165165
[Azure Maps pricing page]: https://azure.microsoft.com/pricing/details/azure-maps/
166-
[Azure pricing calculator]: https://azure.microsoft.com/pricing/calculator/?service=azure-maps
167-
[Azure Maps term of use]: https://www.microsoft.com/licensing/terms/productoffering/MicrosoftAzure/MCA
168-
[Choose the right pricing tier in Azure Maps]: choose-pricing-tier.md
169-
[azure.com]: https://azure.com
170-
[Azure Active Directory authentication]: azure-maps-authentication.md#azure-ad-authentication
166+
[Azure Maps product documentation]: https://aka.ms/AzureMapsDocs
167+
[Azure Maps product page]: https://azure.com/maps
171168
[Azure Maps Q&A]: /answers/topics/azure-maps.html
169+
[Azure Maps term of use]: https://www.microsoft.com/licensing/terms/productoffering/MicrosoftAzure/MCA
170+
[Azure portal]: https://portal.azure.com/
171+
[Azure pricing calculator]: https://azure.microsoft.com/pricing/calculator/?service=azure-maps
172172
[Azure support options]: https://azure.microsoft.com/support/options/
173-
[Azure Maps product page]: https://azure.com/maps
174-
[Azure Maps product documentation]: https://aka.ms/AzureMapsDocs
175-
[Azure Maps code samples]: https://aka.ms/AzureMapsSamples
176-
[Azure Maps developer forums]: https://aka.ms/AzureMapsForums
177-
[Microsoft learning center shows]: https://aka.ms/AzureMapsVideos
178-
[Azure Maps Blog]: https://aka.ms/AzureMapsTechBlog
179-
[Azure Maps Feedback (UserVoice)]: https://aka.ms/AzureMapsFeedback
173+
[azure.com]: https://azure.com
180174
[Basic snap to road logic]: https://samples.azuremaps.com/?search=Snap%20to%20road&sample=basic-snap-to-road-logic
175+
[Choose the right pricing tier in Azure Maps]: choose-pricing-tier.md
176+
[free Azure account]: https://azure.microsoft.com/free/
177+
[manage authentication in Azure Maps]: how-to-manage-authentication.md
178+
[Microsoft Azure terms of use]: https://www.microsoftvolumelicensing.com/DocumentSearch.aspx?Mode=3&DocumentTypeId=31
179+
[Microsoft learning center shows]: https://aka.ms/AzureMapsVideos
180+
[Migrate a web app]: migrate-from-bing-maps-web-app.md
181+
[Route - Get Route Directions]: /rest/api/maps/route/get-route-directions
181182
[Snap points to logical route path]: https://samples.azuremaps.com/?search=Snap%20to%20road&sample=snap-points-to-logical-route-path
182-
[Route - Get Route Directions]: https://learn.microsoft.com/rest/api/maps/route/get-route-directions
183+
[subscription key]: quick-demo-map-app.md#get-the-subscription-key-for-your-account

0 commit comments

Comments
 (0)