Best Practice / Standard for storing an Address in a SQL Database

I am wondering if there is some sort of "standard" for storing US addresses in a database? It seems this is a common task, and there should be some sort of a standard. What I am looking for is a...

Using google street view with a marker, how do I point the POV at a marker?

I have a simple street view working to show me a street view given an address: var geocoder = new google.maps.Geocoder(); var address = "344 Laguna Dr, Milpitas, CA 95035"; geocoder.geocode( {...

Google Maps v3 - How to center using an address on initialize?

Using Google Maps API v3, is there a way to set the center of the map on initialize? I have a workaround using this code: var geocoder; var map; function initialize() { geocoder = new...

Parsing address_components in Google Maps upon autocomplete select

I have the following code to parse the country when the autocomplete list is selected: $('#spot_address').autocomplete({ // This bit uses the geocoder to fetch address values source:...

call class from another activity

I have Activity 1 and Activity 2. Activity 2 has a GeoCoder class (public class GeoCoder extends AsynTask) is there any way I can execute the GeoCoder class from Activity 1? screen1.java public...

How to use google maps without api key

Hi i am using this code to use get-directions in google maps. but when i run this from other machines it is showing the error invalid api key. how to use this same map without an api key. <script...

How to wait for google geocoder.geocode?

Please, help me with google geocoder.geocode. I know that this function runs asynchronous but i do not know how to handle it. How to wait for result? Here is my code: My code do not wait for...

Get the latitude and longitude of multiple addresses using Google API

I have a database of around 16000 records and i like to go through each address and get their latitude and longitude values. I have tried exporting all records into excel sheet and then creat a...

Showing error Caused by: java.lang.reflect.InvocationTargetException

When I press the button(named "current location") it should shows current location(lat & long) on the textview(named "tvAddress") .But it's not working as I expect. It's giving me errors.Errors...

GeoDjango, what SRID to use for PointField interfacing with Google Maps V3 API?

I am a bit confused, what should I set my SRID value to in my GeoDjango PointField to stay accurate in the context of addresses being geocoded via google maps api into coordinates and distances...

Geolocation Altitude problems

I am getting an incorrect location when I attempt to locate myself using the geolocation services. I'm on the 13th floor so I thought that might be an issue. I went outside for a minute and tested...

Getting location coordinates from Address

The user will be prompted enter his address in a textfield and in the backend I want to get the location coordinates of the address. I’m using geocoding service from google but not any of their...

How to access hidden field value in C# ? and I am setting the value of hidden field using jquery

am setting value of asp:hiddenfield using jquery. but when i access value of hiddenfield in .aspx.cs page , it show empty string. HTML <asp:HiddenField runat="server"...

InvalidValueError: not an instance of HTMLInputElement

FYI, I'm not a JavaScript Ninja but felt like I'll become one when I did a lot of things based on Google Maps recently. I implemented a map. User can search for google places and place a marker...

Google Maps javascript API, searchbox for directions to show on map

I am working on a web project that gives directions from a set address(coordinates set in jscode) to an address that is set by the user using a text searchbox(in another div). I've managed to set...

Reverse geocoding is not working in some android devices?

I am developing an application on maps, am not able to get address in this mobile, its android version is 4.3, like below -- But it is working fine in my mobile, its version is 4.1.2, like below...

Google Maps Geocoding APi not returning lat and long

I'm utilizing the Geocoding API for converting and address to latitude and longitude coordinate values. I do receive results but the lat and long are empty. Other SO posts mention the Geocoder...

Swift - Generate an Address Format from Reverse Geocoding

I am trying to generate a Formatted Full address using CLGeocoder in Swift 3. I referred to this SO thread to get the code given below. However, sometimes the app crashes with a 'nil' error at the...

Angular2 Cannot find namespace 'google'

I am working with angular2-google-maps and latest version of Angular2. I am trying to convert some of the local map component functions into services in their own file maps.service.ts. For...

service invoked too many times for one day geocode

I get this error message when using the google map geocode function, which I understand happens when I exceed my free limit of 2500 requests in a day. However I've set up a billing option to pay...

android google maps not loading the map

I searched through google about this bug and there was a fair amount of people with same problem, but all of their solutions didn't work for me.I would love for you to know that I am not...

Using the POST Method for Batch Geocoding with ArcGIS Server REST API?

I'm trying to hit my geocoding server's REST API: [https://locator.stanford.edu/arcgis/rest/services/geocode/USA_StreetAddress/GeocodeServer] (ArcGIS Server 10.6.1) ...using the POST method...

How to fix error with flutter_google_places_autocomplete.dart?

I make an application with Google maps in which you can find a place and build a path to it on the map. I want to show places and addresses below it according to what the user types.After showing...

Using TransitOptions Literal in GoogleMaps DistanceMatrix API

Good day! I am very new to JavaScript, and have come to it as I think it can help automate a project I am working on. Essentially, I am mapping two Brazilian cities (Vitoria and Florianapolis) and...

Why I am getting Geocoding API authentication error even after enabling Geocoding API?

I enabled "Geocoding API" for my Google Cloud platform project. Still it gives me an error: "Geocoding Service: This API project is not authorized to use this API. For more information on...

How can i get address from coordinates in android studio

I have issues with reverse-geocoding. when I want to convert my coordinates to address, the Geocoder returns this error : Caused by: java.io.IOException: grpc failed this is my code : val...

Get Geocoder address search value to update state in App.js (with react-map-gl-geocoder, mapbox-gl and react-map-gl)

I have my app running in React. I have installed a map with react-map-gl-geocoder, react-map-gl and mapbox-gl. I am creating a map application with React map GL, using the Geocoder for address...

Leaflet-Routing-Machine: TypeError: Cannot read property 'getSize' of undefined

Not sure how this can be happening as I am using useRef to pass a reference of my map to the Routing Machine component... But first here are my dependencies... "react-leaflet": "^2.7.0", ...

Android Studio - GoogleAPIClient deprecated fix

I am building a GPS app, but GoogleAPIClient is deprecated and I'm not sure how to fix it. Also when I run the app, I get a sign-in button that doesn't lead to anything, which may be related to...

Google Maps - Cannot read properties of undefined (reading 'spherical')

i wanna scroll to closet marker after a search. Console.log shows for pins[i] = (50.296322, 9.112082) und event (50.937531, 6.9602786). i tried many but always get: Cannot read properties of...