-
Notifications
You must be signed in to change notification settings - Fork 0
latLng
Leon edited this page Oct 17, 2022
·
1 revision
Returns Lat-/ Longitude by search query
-
URL
/api/latLng/
-
Authentication:
Authenticated
Not Blocked
-
Method:
GET
-
URL Params
Required:
query=[string]
-
Data Params
None
-
Success Response:
-
Code: 200
Content:{ lat : ${latitude}, lng : ${longitude} }
-
Code: 200
-
Error Response:
-
Code: 400 UNPROCESSABLE ENTRY
Content:{ status : "error", msg : {title: "Fehler Titel", content: "Fehler Text"} }
-
Code: 400 UNPROCESSABLE ENTRY
-
Sample Call:
$.ajax({ url: "/api/latLng", dataType: "json", type : "GET", data: { "query": "Maierstraße 45, München" }, success : function(r) { console.log(r); } });
- /aao/
- /address/
- /association/
- /backalarm/
- /buildings/
- /buyDepartment/
- /buyVehicle/
- /calculateDistance/
- /createCourse/
- /editDepartment/
- /editVehicle/
- /editVehicleGraphic/
- /editVehicleGraphicSet/
- /hoverCard/
- /latlng/
- /loadAssociationChatMessages/
- /markAssociationChatRead/
- /missions/
- /s5/
- /sellVehicle/
- /sendAssociationChatMessage/
- /sendCustomMissionLog/
- /shareMission/
- /upgradeDepartment/
- /user/
- /userBuildings/
- /userPersonal/
- /userVehicles/
- /vehicleCategories/
- /vehicleGraphicMarker/
- General
- Buildings
- Missions
- Vehicles
- Course
- Association