I am trying to add 3d images to Bing maps, however I do not have an internet connection at my work pc and I would like to know how I could work on adding things to bing maps when no internet is available. Is there a way I can download samples of bing map that allow me to work with bing map and the bing map api?
Thanks
Whilst technically easy to do, the Bing Maps Terms of Use explicitly prohibit creating a local copy of the API or any Bing Maps content (with no internet connection, you'd also need to create a local copy of all the base map tiles that would normally be served to the client) - see http://www.microsoft.com/maps/product/terms.html
The only legal way of creating a local Bing Maps installation with no internet connection that I'm aware of is by purchasing a licence for the Bing Maps Server provided by Vexcel - http://www.vexcel.com/geospatial/bingmapsserver/index.asp. However, don't expect it to be cheap...
From the Vexcel website's FAQ:
Q. Can I import DEM’s or 3D models into Bing Maps Server or Bing Maps
Desktop?
A. This capability is under development.
By the way, Vexcel Corporation, as Microsoft’s geospatial subsidiary, is the exclusive provider of the Bing Maps Server.
Related
I have been trying to use bing maps API's function getCurrentPosition from a mobile device via 3G internet. I was expecting the Samsung SIII, being a high spec device, to work without any problems.
However when the mobile connects over WiFi I am able to get my location whereas when I switch the connection to 3G I do not get my actual location.
The pushpin does point to my house but as I move away from it, it does not react to my position. It's like getting the location of the server hosting the function (which is my computer at my house).
The GPS is on and correctly set on the mobile too.
Moreover, the getCurrentPosition is inside a recursive loop which invokes it every 500ms.
Now I know for sure that bing maps API works mobile devices since I have been involved in a Vodafone organized treasure hunt using tablets. Please guide me to solve my issue.
Thanks,
Justin
The positioning service is directly related to the device and its own implementation to find the position assumed by and from the various method that was used to find the best matching. It does not seem to be directly related to Bing API in this specific case.
In order to improve positioning speed and precision, the different systems can switch to Wifi-Positioning to other method like A-GPS or even cell identification.
If you try to get the information about your position based on your wifi, on Android, we can easily assume that it will used the Wifi-cell as the position that means that the known location would be the one retrieve from various crowdsourced information from your own devices and also others. That said, in WiFi, you will not be moving, you are connected to the Wifi cell without any other information.
If you cannot get your position in 3G, try to go outside so it can use the most precise positioning method (A-GPS) as it appears that phone cell-id is not working in your area.
I am able to load KML into Google Maps despite what this answer says, but my problem is that there is no data coming in from Google's servers. All I get is a blurry map from the default texture that comes with the Google Earth plugin. Uploading the same html file to a public web server works.
Google is probably sending the window.location and checking if it can visit the URL from their end - if not then it denies any access to map data. This is to prevent people deploying apps locally (e.g. intranets) and not buying a license. I want to be able to develop locally, and this is restricting that ability.
I had the same problem, what helped me was to open the server's HTTP port on my router (and if you have a firewall you need to open the port there as well).
How does GeoLocation service providers works?
we are working with a company that provides us a binary file monthly and we can query the file by ip address and it returns the Location of it (Country, Region,City, PostalCode,...).
How do they gather this information?
Interesting point is that, they dont have information for some countries. Like mine :)
IP geolocation uses data from internet services providers, such as WHOIS information, traceroutes, hostnames and other data gathered via public sources. It can be incredibly inaccurate because every ISP structures their network differently.
There's also browser-based geolocation, which uses information about nearby wi-fi access points, or in the case of mobile devices, cellular tower IDs and/or GPS. Google Location Services is the primary provider for Chrome and Firefox, but this all depends on the browser.
I'm guessing you are working with a company where you paid for that file and it's up to you to perform any back-end development to make it work. MaxMind GeoIP also provides a web service API for that.
If you're interested in browser-based geolocation, a really good tutorial is at Dive Into HTML5.
In my app, I am trying to figure out the location of my app user using WiFi (not GPS because my main area is inside the buildings), can any one please tell me how can I get user location using hotspot of WiFi.
Any basic guide or example is good .
Thanks in advance.
egards
Use Core Location. The Core Location framework hides the actual device capability from you (more or less) and (depending on the options you set) give you a best estimate for latitude and longitude. I've used the exact same app on an iPhone and iPod touch and have gotten pretty good results with the touch. It won't be as accurate, but it's good enough for most applications.
Check out the Core Location documentation and the "LocateMe" sample code from the developer site: https://developer.apple.com/library/ios/#samplecode/LocateMe/Introduction/Intro.html
Unless you mean to figure out the location of your user in a specific building with known Wi-Fi spots, you'll have to resort to using a IP address geolocation database. There are services, such as that provided by MaxMind, that have a database which you subscribe to for updates. The database maps IP addresses to locations.
This will only get you approximations, so your best bet is to use GPS primarily but IP address as a backup.
If I supply an address as a NSString. How can I use mapkit to show me a map with that location centered and a push pin showing that address? What's the easiest way to do this?
EDIT:
Is there a way to call the built-in Maps app to do that for me?
You'll need to forward geocode the address to obtain GPS coordinates. This data is available from third parties like Google via their Geocoding API. Here's a tutorial on forward geocoding using Google APIs.
Take note of their terms of use.