How to persist custom marker into Google maps - google-maps-markers

When i create a Marker object does it persists in Google maps database. Using app I am trying to capture bad spots on road and trying to save them in Google maps database so that eco system around it can be developed. Please suggest the correct API in my effort for common good.

Related

Google Analytics Data API: missing flag for identifying `golden` data

I've been using such API for generating reports over Google Analytics:
https://developers.google.com/analytics/devguides/reporting/core/v4/rest/v4/reports/batchGet
This API has result field isDataGolden:
Indicates if response to this request is golden or not. Data is golden when the exact same request will not produce any new results if asked at a later point in time.
Currently Google Analytics has new API for generating such reports:
https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties/batchRunReports
But there is no analogue of isDataGolden field in this API
Question:
Is such flag will be added to new API, or maybe there is another instrument to get only golden data from new API?
p.s.:
I need to use this new API, since old one does not support new analytics properties without Universal Analytics view_id
The Google analytics data api is used for extracting data from google analytics ga4 accounts. The reporting api is used for extracting data from Universal analytics accounts. These are two different systems and should not be compared. You can not use the Google analytics data api to extract data from universal analytics accounts with view ids.
If you check the documentation for RunReportResponse which is the response returned from running a reporting in google analytics data. You will find that there is no is golden property or any property of that nature.
Remember this api is still in beta the team is still working on it. One may appear in the future. You will need to wait to find out if google will add any field like this in the future as anyone who would know is probably under NDA and cant tell you.

Geofencing using google maps in laravel

I am creating a laravel based website where i want a feature where some users can create geofence around a point in the map on the page. I have done some reasearch and it seems that only android users can create fences using the geofencing API in google. Has anyone done something like this or has any idea how to do this?
Edit: I want the logged in users to be able to draw on a google map screen a shape which acts as a fence where if a certain vehicle goes in/out the user get some sort of an alert. The vehicle has an IOT device that would tell me the vehicle location.
Thanks

How display available Wi-Fi and cells access point with google maps API

I want to display all Wi-Fi access point and all cellular access point with Google Maps API in a limited area.
I have a Google API key.
From an Google account manager:
Google does not have/offer the WiFi access points data in the APIs
WiGLE, or (Wireless Geographic Logging Engine), is a website for
collecting information about the different wireless hotspots around
the world. Users can register on the website and upload hotspot data
like GPS. So I believe WiGLE's users upload the location of various
WiFi access points. Then WiGLE uses that information to place it on a
Google Map.
Q1) In which programming language do you want t accomplish that?
Q2) Does it have to be a Google Map? There are other free Webmap services, e.g. CartoDB, Esri, ... where you don't have to send an API Key.
In any case, here is what I did:
Get an API Key for the Wigle API and download the JSON responses from the /api/v2/network/search endpoint, in 100-record batches. See https://api.wigle.net/swagger#/Network_search_and_information_tools/search_2 for details.
Read in the JSON responses and create a table. Coordinates are in the trilat and trilong columns.
Plot the map, perhaps with Leaflet

Create New View for Google Analytics with Ruby

I was wondering how to create a new view for google analytics with ruby using the current 0.8.6 version of the library or otherwise? This would be after I have gotten the appropriate access token.
The specific call is here: https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference/management/profiles/insert
Any tips would be very much appreciated!
Write operations in the Management API (e.g. create, update, delete, patch) for Web Property, View (Profile), and Goal resources is currently available as a developer preview in limited beta. If you're interested in using these features, request access to the beta
It can take a while to get access it took me over a month you might want to start there first. While you are waiting I suggest you look at the normal ruby google analytics core reporting API examples once you are familiar with those you should be able to get the insert views working.

Is the WebOS calendar api really as limited as it sounds?

A recent Ars Technica article rekindled my interest in WebOS so I was looking at the Services API (because I'm interested in building a replacement calendar app). I discovered the following text at the top of the calendar services API documentation:
Note: To prevent unauthorized use of
private user data, this API provides
access only to records created by your
application; that is, you cannot
access records owned by another
application.
What is the point of even having an API if you can't access data created by other applications? At that point there would be no reason for me to use their API rather than building the data storage myself. Am I missing something? Can any WebOS developers weigh in on this?
P.S. If they named their os "WebOS" you would think they'd know something about sane URLs. Check out that ridiculous calendar api doc url!!
The reason for the limited access is because of security, but not just that. Some services have agreements that limit how their data can be used. For example, having an API that would let a random webOS app access your Facebook calendar data would be working around the FaceBook terms of service that control how that data can be used. The same applies to LinkedIn, Google Calendar, and any other service from which the system is pulling information.
If you just need to post an occasional event, there's a better API to use that lets you cross-launch the calendar app with data that the user can accept into their own calendar. That way, you don't create your own bucket, but the user has to manually accept the event.
The reason to use the calendar APIs is to expose your own data to the user of the device. FlightView, for example, uses it to publish a calendar to the user of upcoming flights that he or she is interested in, and if those get rescheduled, it can automatically change them. The Fandango app uses this to push movie times for theaters the user likes into their calendar view. There's lots of possibilities.

Resources