sethwebster / GoogleMaps.LocationServices

A simple library (including Nuget Package) for Google Maps geolocation and reverse geolocation
http://nuget.org/List/Packages/GoogleMaps.LocationServices
44 stars 42 forks source link

Added null check for typename variable #16

Closed qwertydog closed 6 years ago

qwertydog commented 7 years ago

Added null check for typename variable to prevent null reference exception when no type field exists.

Example here: https://maps.googleapis.com/maps/api/geocode/xml?latlng=-36.2194127,174.5664288