-
### GooleMap displays default markers on surrounding landmarks. However, We can't detect `onTap` for that.
### Use case
let's say I want to set a destination by tapping the default marker on…
-
I can't convert point to latlng.
Here is my code.
```
function convertPointToLatLng(x, y) {
// Function to convert screen coordinates to LatLng
if (map.getProjection()) {
const…
-
Your code:
`LatLng get coordinate => LatLng(long, lat);`
But LatLng constructor is:
`const LatLng(double latitude, double longitude)`
Correct code is:
`LatLng get coordinate => LatLng(lat, lo…
-
The logic of `_convertLatLngs` in L.Polygon removes the last latlng if it is the same as the first latlng. But a rectangle calls this too and then it results in having only 3 instead of 4 latlngs. -->…
-
Whenever a marker is selected, the JS console shows the following uncaught exception:
```
Uncaught Error: Invalid LatLng object: (NaN, NaN)
v LatLng.js:32
unproject Projection.SphericalM…
defeo updated
4 months ago
-
i am trying to get Latitude and longitude using MyLocationListener- https://github.com/yandexmobile/yandexmapkit-android/blob/master/yandexmapkit-sample/src/ru/mapkittest/mylocation/MapMyLocationChang…
-
### Steps to reproduce
Wrap the Google map widget with a gesture detector and implement custom onScaleUpdate, and onScaleEnd methods to handle movements. The script works fine on Android devices and …
-
#### Environment details
- Framework: NextJS 14
- Language: TypeScript
- Library Version: @googlemaps/extended-component-library": "^0.6.11
I was following the library tutorial here - [link](h…
-
I created a map with some markers on it:
```
GoogleMap(
modifier = Modifier.matchParentSize(),
cameraPositionState = cameraPositionState,
uiSettings = mapUiSettings,
onMapClick = {
},
)…
-
Rather than defining your latlng as
``` javascript
latLong = {
lat: parseFloat(mapElement.getAttribute('data-latitude')),
lng: parseFloat(mapElement.getAttribute('data-longitude'))
};
```
…