using external maps with bing map - bing-maps

can i use bing map platform with an external mapping source ?
for example, i want to use bing map siverlight client with my own map files instead of the provided maps. (some areas coverage is insufficiant with bings provided mapping)
Thanks.

Another useful tool you may want to utilize if you don't have ArcGIS Server is MapCruncher, which will take a raster image, allow you to georeference it and produce Virtual Earth compatible tiles.
If you need to display vector data, you can either convert it to a format like KML or use a product called SharpMap to render tiled images.

I am assuming that since this was tagged ESRI, that you want a method to use ESRI products for your data sources... There are a lot of ways you can create your own tiles and use them in Bing Maps. If you have ESRI ArcGIS Server, you can use the ESRI JS API to add your own services to Bing Maps.

you can rewrite TileSource class and override GetUri method

Related

How to using layers of another basemap in a Mapbox basemap

I am using a Mapbox map pad on my website. I would also like to add the footers of maps such as bing-maps or yandex-maps to my mapbox layers to give the user more options. So I want to use layers of other maps while continuing to use mapbox is it possible?
Bing Maps can be added as a raster tile layer. Details on how to directly access Bing Maps tiles is documented here: https://learn.microsoft.com/en-us/bingmaps/rest-services/directly-accessing-the-bing-maps-tiles
If you want vector tiles from Microsoft, there is also Azure Maps (they have traffic data tiles available in vector and raster format too):
https://learn.microsoft.com/en-us/rest/api/maps/render-v2/get-map-tile
https://learn.microsoft.com/en-us/rest/api/maps/traffic/get-traffic-flow-tile
https://learn.microsoft.com/en-us/rest/api/maps/traffic/get-traffic-incident-tile
https://samples.azuremaps.com/?search=vector%2520tile
Note that the Azure Maps Web SDK, uses MapLibre under the hood (a fork of Mapbox) and wraps it with an easier to use developer API. https://learn.microsoft.com/en-us/azure/azure-maps/how-to-use-map-control

Is mapbox geocoder API available for usage without a map?

I am reading through mapbox JS api but don't seem to find any the geocoding API call that would enable me to provide place lookup using my own typeahead component. So basically I am after sending out a query and receiving an array of results.
I do not mean the example on how to place geocoder Control on or off the map, but rather how can I provide places lookup in my own form [Angular, React, whatever] that does not display any map. Is that possible at all?
[UPDATE May 2020]
Mapbox now does allow you to use a Geocoder without using a map (search form with autocomplete)
July 1, 2019: Removed the default restriction that Services have to be
used in conjunction with a Mapbox map. Point of interest results from
the Geocoding API and Enterprise Boundaries must still be used in
conjunction with a Mapbox map.
Examples can be found from the Mapbox website and from Mapbox Github page.
This previous answer shows an alternative plugin/ service called Algolia that you can use to create a Geocoder.
Another alternative is to use Geocodio.
However, both Geocodio AND Mapbox Geocoder (without a map present) do not support POI (Point of Interest)
E.g. A named place including commercial businesses, public buildings, monuments, and parks, etc.
Hope this helps someone in the future!
This is apparently the violation of Mapbox's terms of service:
You may only use responses from the Geocoding API ("Geocodes") in
conjunction with a Mapbox map.
That's the reason why mapbox-gl-js MapboxGeocoder control (which consumes Mapbox Geocoding API) comes in conjunction with a Mapbox map only and means your scenario is not supported.
July 1, 2019: Removed the default restriction that Services have to be used in conjunction with a Mapbox map. Point of interest results from the Geocoding API and Enterprise Boundaries must still be used in conjunction with a Mapbox map.

Is there a way to use own custom data for traffic using the map?

Is there a way to use own custom data for traffic using the gmap, mapbox, leaflet. I just want to show custom data set for traffic using the map like google map indicating traffic in different colors in lanes. I just want to show the same but using own custom traffic data.
Any help would be appreciated.
there is no any Leaflet API to show traffic but you can applies traffic flow data to the map tiles before serving them by using Mapbox to draw on a Leaflet map to represent traffic.Here is the best approach that is not be using Leaflet functionality at all.
A web mapping library allows you to add a map to a web page and define the data it contains, its appearance, and a variety of functionality. Think of it like a toolbox filled with many different map-making tools that can be used together to build beautiful and interactive custom experiences.

Mapbox GL JS Geocoding to only reference Tileset

I'm using Mapbox's Geocoding (search box) and was wondering if there's a way that it would only reference my Tileset data rather than the generic global address search? Looks like Mapbox has a "Supplement geocoding search results from another data source", however the example is referencing geographic coordinates rather than addressing. So I'm still not sure if this is possible?
Basically I want to enter an address in the Geocoding search box and to have a particular polygon selected from my dataset on the map. Any help would be greatly appreciated.
The example you linked to shows how to supplement search results with a local source, not a remote source in the https://github.com/mapbox/mapbox-gl-geocoder.
Currently Mapbox doesn't provide a Geocoding API against your own data however depending on how large your dataset is (and assuming it's a Mapbox Dataset and not just a Mapbox Tileset) you could use the Datasets API to read in every feature into the client with https://github.com/mapbox/mapbox-sdk-js/blob/master/API.md#listfeatures and use the results of that to power the mapbox-gl-geocoder search like https://www.mapbox.com/mapbox-gl-js/example/mapbox-gl-geocoder-local-geocoder/

Custom Map draw with MongoDB

Can anybody say, how can I draw custom MAP vector map (dynamic) with using mongodb's Geo-spatial data?
Or I look for Map maker with using mongoDB.
Thanks.
MongoDB's default data storage is now GeoJSON, see the GeoJSON docs. This format, being an extension of JSON, naturally plays very well with Javascript. There are direct GeoJSON loaders in Google Maps, OpenLayers and in Leaflet, three of the better known Javascript mapping libraries out there. Both OpenLayers and Leaflet are open source, so you can view the source to see how it works and extend as you wish.
You will have to write something to transmit the GeoJSON from MongoDB to the client and you might have to deal with cross domain issues, depending on your setup, see JSON: How do I make cross-domain JSON call for possible solutions.