menu
Channels
Team
Posts
Chat
Members
Info
down-caret

autocomplete does not work within react-bootstrap modal component

Everything is working normally but autocmplete stops working in bootstrap modal

thumbsup
0
message-simple
0

The autocomplete component is not working properly :(

Cannot read property 'location' of undefined on calling autocomplete.getPlace().geometry.location.lat() calling the getPlace() gives …

thumbsup
0
message-simple
0

How do I add a new layer style on a map

So I am trying to add lines (from an underground station data) using geojson - I have these working so that one line can be selected as so using the useGoogleMap hook. But then if I want to use a different color for the line I am struggling. As they are all given the new color.…

thumbsup
0
message-simple
0

Custom Marker icon position is wrong

Hello! I have added a custom marker image using the prop - <Marker icon={{ url: 'customMarkerImage.png', }}> - it is just a circle - 20px x 20px …

thumbsup
0
message-simple
2

[SOLVED] TypeError: Cannot read property 'maps' of undefined

Turns out that all you need to do for the browser to properly read the google variable, is to declare the map as an independent component. Meaning that you should not declare <GoogleMap> nor load the script within the declaration of another component. Create a Map.js file and…

thumbsup
0
message-simple
0

Using supercluster with react google maps.

Hello everyone, I'm using supercluster with react google maps in order to group my markers in clusters (for performance purposes). Now on each cluster I want to display the sum of a value in the children. …

thumbsup
0
message-simple
2

What's the easiest way of displaying an InfoWindow after a Marker click?

I can see there are a few approaches regarding how to display an InfoWindow attached to a Marker. I've decided to adopt the approach of passing an InfoWindow component as a child of a Marker one, so that the former gets attached automatically. However, whenever I open my map,…

thumbsup
0
message-simple
2

google not defined when loading is cancelled

Hi everyone, whenever I load the map in my application and navigate away before it is done loading, I get a console error. The error is: common.js:1 Uncaught ReferenceError: google is not defined at VM3241 common.js:1 …

thumbsup
1
message-simple
3

Initial Position

I have an application that starts with the position of the accessed device, but the maps redirects to another possibility. why?

thumbsup
0
message-simple
2

getCenter() return lat:0 and lng:180 when there is one item out of polygon

Hi everyone. i have some issues in our app... when there is one item out of the map polygon got lat:0 and lng:180. …

thumbsup
0
message-simple
0