Get user map coordinates input (not Google Maps) - angularjs

I'm developing an AngularJS web app. Does anyone know a free service that displays a map, making the user to click on it to pin a point, and allow my script to gather it's point location (latitude, longitude) and put the into a form?

Related

HTML Geolocation API on mobile sends different locations when I stay on the same spot

Hello:) I will appreciate very much a knowledge or the answer on the next question. I have a PWA with HTML Geolocation API. When I open the app in mobile browser or as an app from a home screen, the success callback of the "watchPosition" method gets called approximately every second or couple with new coordinates when I don't move phone at all. "getCurrentPosition" method also gives new coordinates. The radius of new coordinates is small, in the range of a house or so, but when I got a cell phone call and answered it, this range extended 4 houses ahead. I need to record accurate user's locations on mobile without internet connection of him. Does anyone know how to achieve this? Thank you very much.

Google Maps Free API for NGO project

I'm building a React app and I would like to use Maps. Google Maps and other Maps APIs have a charge and this project will be free for the community (just like an NGO) so no budget at all.
In this app there is a page to create an Event, so you can type many things and where the Event will happen, and that is where I would like to use Maps, to search and show the location.
I thought that if is there any possibility to use a search box connected to an API just to get the Longitude and Latitude based on the search would be great, but I have no idea how to make it and I was expecting that you could help me find a way. (the thing is: get the information for free)
Just as I create this event, I would like to show this information on the Event page, so where the event will happen. And that would be the second part that I would like to use Maps. Do you know if I just show the location in Maps if I would be charged? If so, then I can use redirection to Google Maps using the Latitude and Longitude that I got from the event creation.
Thanks in advance!
See https://www.google.com/nonprofits/offerings/google-earth-and-maps/ for non-profit organizations.

Is it possible to get Arrival/Destination Time from Google Map App

I am developing ionic application for Android. I want to open the Google Map App from my Application. Using launchnavigator,
launchnavigator.navigate([50.279306, -5.163158], {
start: "50.342847, -4.749904"
};
I can able to achieve this. Can anyone clarify my following doubts,
Is it possible to get the Arrival/Destination time from google Map App????
And also Is it possible to redirect to my App again???
Anyone Help will be Appreciated!!!
Is it possible to get the Arrival/Destination time from google Map App.
Launch navigator will launch a Google Map where you can see the starting point and destination point with direction connecting between those. So you can get the Arrival and Destination time from there if You Start the Navigate in the Google Maps.
FYI: if you select start point as null it will then take your current
location.
BUT: if you want the data of of arrival time into your App its not
possible due to Policy restriction.
And also Is it possible to redirect to my App again???
I don't know Exactly but if you click the back button it will redirect you again to your Application. Cause the Google Api started from your App in the first Place.

Embed a specific point on my own map on my website

I have my own Google Map which has app. 200 points of interest (Campsites). I want to embed a map on my website for a specific point on my own map ie, and individual campsite. Can anyone help please? I have a Google Map API and can see how to embed the whole map, but not a lat/long of a specific location within my map.

How to set map center to a certain city?

I have an angular google map in my Ionic application and for the first time it sets the map center to the users geolocation with cordova-plugin-geolocation but in case the user want to see what can the app offer in other cities I'd like to change the map center by letting the user to choose another city from a list.
What would be the proper way to do this if I don't know the coords of every city?
You can get the city coordinates from the Geocoding API, and pass those to your maps.
https://developers.google.com/maps/documentation/geocoding/intro

Resources