Tag Archives: Map API

Adding a Bindable Map with the Map Behavior

via Adding a Bindable Map with the Map Behavior | Adventures in Xamarin Forms.

My weather app provides weather forecasts for all mountains in each mountain area in the UK. I display a list of mountain summits from which you can select to get a 5 day forecast. I have also added a search bar to make it easy to search for a specific mountain in the list. This is all fine but the list is a little dull. It would be great if I could see all these mountains on a map and use the search bar to filter and zoom into a specific mountain.

Xamarin Forms provides a cross platform map control out of the box, well almost. You need to add Xamarin.Forms.Maps via NuGet to your project and follow the setup in the guide here. This is a great control but one thing it doesn’t provide is the ability to bind to a list of locations. So I wrote this Map Behavior which provides an ItemsSource property so you can bind to a list of locations.

3D Map Library Roundup

via 3D Map Library Roundup.

This is a quick roundup about WebGL map libraries. Since IOS is supporting WebGL and the browser support is getting better in general, it becomes a relevant technology for map applications too. Stepless zooming, tilting or rotating are features that almost all of the libraries can do. If the map is rendered on the fly and doesn’t rely on images, you can also change its styles and show and hide certain features on demand.

If you are missing a certain library just leave a comment or contact me via twitter.

Google maps and calculating distance between two geographical points

via google maps and calculating distance between two geographical points.

I have some concerns with using google maps API that I would like. The issue is that I have a JSON location dotted bars for example. Then I until I show the user a list of existing bars in that JSON. My idea now is that those ordained bars appear closest to your current location to farthest. For this I have seen several taenicide:

Google Directions API helper for iOS, written in Swift

via poulpix/PXGoogleDirections · GitHub.


  • Supports all features from the Google Directions API as of March 2015 (see here for a full list:https://developers.google.com/maps/documentation/directions)
  • Available both with modern, Swift-style completion blocks, or Objective-C-style delegation patterns
  • Queries are made over HTTPS
  • JSON is used behind the scenes to help reduce the size of the responses
  • Available through CocoaPods

HTML5 Geolocation Example – Weather Widget Demo

via HTML5 Geolocation Example – Weather Widget Demo | Web Code Geeks.

At the heart of every location-based application is positioning and Geolocation. Geolocation is similar to  the use of positioning systems but is more focused on determining a meaningful location (e.g. a street address) rather than just a set of geographic coordinates.

In this tutorial you will learn the Geolocation capabilities of HTML5. The API provides a method to locate the user’s more or less exact position. This is useful in a number of ways ranging from providing a user with location specific information to providing route navigation.

There is more than one way to figure out where you are — your IP address, your wireless network connection, which cell tower your phone is talking to, or dedicated GPS hardware that calculates latitude and longitude from information sent by satellites. Gone are the days when we would inspect the client IP address and make a reasonable guess as to the where that device was located.

In HTML5, we have a set of APIs to effectively allow the client-side device (i.e. your iPhone 3G+, Android 2.0+ phones, or even your conventional desktop browsers) to retrieve geographic positioning information with JavaScript.

The Geolocation API is supported by the following  browsers and  smartphones. Minimum version requirements are mentioned as well.

  • Google Chrome 5.0
  • Internet Explorer 9.0
  • Firefox 3.5
  • Safari 5.0
  • Opera 16.0
  • Iphone 3.0
  • Android 2.0
  • Opera Mobile 10
  • Blackberry OS 6.0


Video: Easy Maps Apps in Java and Python

Integrating Google Maps API services into applications provides a great set of location based services for powerful functionality. If you write server side applications in Java or Python, accessing these APIs requires some way to talk to the Google Maps server REST APIs that provide the interfaces.

Google have built an open-source set of client libraries that take care of all the nitty-gritty detail of connecting, and managing Maps API services for both Java and Python.

Alex Danilo introduces these libraries, and what they do – allowing Java and Python server side application developers to save time integrating Maps API services into their applications.

These libraries streamline and simplify the work required to get an application up and running by taking care of things like retry for dropped connections, rate limiting to make sure applications manage their quota, and more.

Documentation for the client libraries is on the Google Developers Site here, and the open source project code is on github here.

If you develop in Java or Python, you should definitely take a look.