Open Diego251 opened 6 years ago
Fix is to complete the metaDataUrl by properly formatting the style and adding it to the URL. This hardcoded example works:
// leaflet-bing-layer.js, line 105:
metaDataUrl = metaDataUrl + "&st=wt|fc:FF0000;lbc:00FF00_rd|fc:0000FF_g|landColor:FFFFFF";
According to Microsoft it can be passed as a POST request if URL is too long.
Hello, trying to apply a custom style as seen in this example (https://msdn.microsoft.com/en-us/library/mt823636.aspx) using the options object of the leaflet bing layer as follows:
However styles do not seem to be applied, the standard Bing style is displayed. Am I missing something? Thanks!