Bing Maps
5 TopicsBing Maps incorrectly displays my city name in some versions
Hi there, Bing Maps shows my city name incorrectly in some versions. For example, in the Spanish version, the name of my city is misspelled, it appears as "Cabinas" instead of "Cabimas", while in the English version it does appear correctly ("Cabimas"). This behavior is very annoying, since it causes problems with the location, as well as errors with, for example, the Weather widget (in Windows 10 and in Android, Microsoft Launcher). I have already reported several times and have not received a response. Microsoft Launcher has updated, recently it shows the name of my city correctly, but if I search for it manually (before this problem, it detected my location and the name of the city without errors). I really don't know who to contact anymore, because this problem has been around for a long time (I think it has been going on for 2 years or so). Gabe.987Views0likes0CommentsBing Places for Business Verification Suggestion
One of the features I'd really like to see in Bing would be for the local listings pack (Bing Places for Business information) to show whether or not the listing is actually claimed/verified by the business information itself. This would be a good way for a customer to know whether or not the information shared about a business (e.g., hours, address, photos, etc.) is actually accurate. Maybe even having a "date last verified" note would be helpful, too.914Views0likes1CommentSPFx Bing Maps Callback Issue
Hi everyone, I've created a custom SPFx webpart with React which allows me to display multiple locations using Bing Maps (the out-of-the-box Bing Maps webpart only accepts a single location). I'm using the Bing Maps V8 web control where you specify a callback function as part of the URL to the script, which gets called when the Bing resources have finished loading. This then allows you to construct the map and render it on the page. Show in the Microsoft docs here… https://docs.microsoft.com/en-us/bingmaps/v8-web-control/creating-and-hosting-map-controls/setting-map-control-parameters It's working almost perfectly but I've come up against an issue when my custom webpart is placed on the same page as Microsoft's Bing Maps webpart. The Microsoft webpart appears to be overriding my callback, meaning it never gets called and doesn't load. See below the CallbackOnLoad property of Window.Microsoft.Maps. For some context here is my function which adds the Bing maps script. I have a couple of global variables which help me ensure it's only loaded once even if there's multiple custom webparts on the page. The callback iterates through each instance of my custom webpart, updating its state and causing it to re-render. private loadBingMaps(): void { webpartsWaitingForBingMapsToLoad.push(this); if (!bingMapsIsLoading) { bingMapsIsLoading = true; this.loadScript(scriptUrl); let browserWindow = window as any; browserWindow.customMapBingMapsCallback = (() => { MicrosoftBingMapsWebControl = browserWindow.Microsoft; webpartsWaitingForBingMapsToLoad.forEach((webpart: React.Component<ICustomMapProps, ICustomMapState>) => { webpart.setState({ bingScriptLoaded: true }); }); bingMapsIsLoading = false; }); } } private loadScript(url: string): void { const script = document.createElement("script"); script.type = "text/javascript"; script.async = true; script.defer = true; script.src=url; document.getElementsByTagName("head")[0].appendChild(script); } Can anyone think of a solution to this? I don't really want to tell my users they can't use the two webparts together 🙂 Thank you, Adam.3KViews0likes6CommentsSharepoint and Bing Maps
Hi, I'm having some issues with Bing Maps and Sharepoint. I'm trying to create an interactive map that plots locations and details a how much it would cost to transport a vehicle to that location. I need this to be edited by certain members of my team, and I'd like them to be able to pick a point on the map and it adds that to the Sharepoint list database. Currently i'm having issues with map views as it won't display as a map view unless i create a Web Part Page. But also to get this working I have to manually add the Geo Locations Long and Lat tags for every location which isn't very user friendly. Is there anyway to do this or am I am going about it the wrong way ?900Views0likes0CommentsBing Map connected to a list with Starting and Ending Lat/Long
I have a requirement for showing some information on a map. The information is stored in a SPO list with Starting Lat, Starting Long, Ending Lat, Ending Long. Is there a way to do this with what is available in SPO or does this require a custom webpart? Any direction is very helpful. Thank you!865Views0likes1Comment