リンクを新しいタブで開く
  1. Geolocation API の概要 | Google for Developers

    • The Geolocation API returns a location and accuracy radius based on information about cell towers and WiFi nodes that the mobile client can detect. This document describes the protocol used to s… さらに表示

    Geolocation Req…

    Geolocation requests are sent using POST to the following URL: You must specify a key in your request, included as the value of a key parameter. A key is your application's API key. This key identifies your application for purposes of quota management. Learn how to get a key.

    Google Developers
    Geolocation Responses

    A successful geolocation request will return a JSON-formatted response defining a location and radius. 1. location: The user’s estimated latitude and longitude, in degrees. Contains one lat and one lngsubfield. 2. accuracy: The accuracy of the estimated location, in meters. This represents the radius of a circle around the given location.

    Google Developers
    フィードバック
    ありがとうございました!詳細をお聞かせください
  1. The Geolocation API enables applications to determine a device’s geographic location using various data sources such as GPS, cell towers, Wi‑Fi access points, or IP address. It can be accessed either through web browsers (via navigator.geolocation) or through services like Google’s Geolocation API for server-side location detection.

    For web applications, the API is exposed via navigator.geolocation and supports two main methods:

    • getCurrentPosition() – Retrieves the device’s current location once.

    • watchPosition() – Continuously monitors location changes until stopped with clearWatch().

    Example usage in JavaScript:

    if ("geolocation" in navigator) {
    navigator.geolocation.getCurrentPosition(
    (position) => {
    console.log(`Latitude: ${position.coords.latitude}`);
    console.log(`Longitude: ${position.coords.longitude}`);
    },
    (error) => {
    console.error(`Error(${error.code}): ${error.message}`);
    },
    { enableHighAccuracy: true, timeout: 5000, maximumAge: 0 }
    );
    } else {
    console.log("Geolocation not supported");
    }
    コピーしました。
    フィードバック
    ありがとうございました!詳細をお聞かせください
  2. Using Google Maps API for Geolocation in Java ...

    In this tutorial, we'll explore how to integrate Google Maps API for geolocation into a Java application. This powerful tool allows developers to access location data, display maps, and implement various …

  3. Geolocation by IP in Java - Baeldung

    2024年1月8日 · In this article, we will explore how to get geographic location data from an IP address using the MaxMind GeoIP2 Java API with the free GeoLite2 …

  4. Mastering Geolocation in Java: A Comprehensive Guide

    2026年3月18日 · Explore Java geolocation: Learn to use IP-based techniques, secure APIs, and improve accuracy with MaxMind and Abstract APIs for precise user tracking.

    • 4.9/5
      (10)
    • IPGeolocation/ip-geolocation-api-java-sdk - GitHub

      2002年10月10日 · The official Java SDK for the IPGeolocation API. Use /v3/ipgeo and /v3/ipgeo-bulk to get IP geolocation, company and ASN data, timezone and …

    • javaで地図上の位置情報を取得する方法 - Blog - Silicon Cloud

      2024年4月4日 · Google Maps APIやBaidu Maps APIなどのJava地図ライブラリを利用し、ユーザーの現在の経度緯度座標を取得します. 2. SwingやJavaFXなどのGUIライブラリを使用して、Javaウィンド …

    • Azure Maps SDK GeoLocation client library for Java

      This package contains the Azure Maps SDK GeoLocation client library which contains Azure Maps GeoLocation APIs. For documentation on how to use this package, please see Azure Maps …

    • 位置情報のリクエストとレスポンス | Geolocation API | Google ...

      フィルタリング後に、Geolocation API 呼び出しが成功しないと判断された場合は、古い位置情報シグナルや信号の弱い Wi-Fi AP を使用するなどの緩和策を使用できます。

    • IP Geolocation in Java & Spring Boot: Get Location from IP

      2026年1月12日 · Adding IP geolocation to your Java application enables location-based personalization, fraud detection, and compliance features. This guide covers plain Java, Spring Boot, and reactive …

    • Geolocation API overview | Google for Developers

      2026年3月23日 · Developers can utilize various data resources like cell device fields, cell tower data, and WiFi access point data to pinpoint device locations. …

    • 他の人も質問しています
      Loading
      Unable to load answer
    このサイトを利用すると、分析、カスタマイズされたコンテンツ、広告に Cookie を使用することに同意したことになります。サード パーティの Cookie に関する詳細情報|Microsoft のプライバシー ポリシー