Comments (7)
With OverlayView, why does anyone really need an InfoBox?
from react-google-maps-api.
https://github.com/tomchentw/react-google-maps/blob/master/src/components/addons/InfoBox.jsx
from react-google-maps-api.
@uriklar I have no idea, I think we can safely remove it.
What do you think about removing all add-on dependencies?
from react-google-maps-api.
I believe that InfoBox provides an easy way to have a popover style element that can have propagation stopped on it. This is useful for popovers that allow for user interaction.
I also personally think the options are much simpler for this use case versus trying to do all the same things with an OverlayView. For example here are some options i am using with react-google-maps and the popover:
{
closeBoxURL: '',
pane: 'floatPane',
enableEventPropagation: true,
alignBottom: true,
maxWidth: 280,
pixelOffset: new window.google.maps.Size(-140, 0),
infoBoxClearance: new window.google.maps.Size(20, 20),
}
Again, much of this might be because I'm not as experienced setting up an OverlayView for this same use case (I've only used them for custom markers), but just my 2 cents.
from react-google-maps-api.
So what is the status on this issue? can we close it, or leave it be?
from react-google-maps-api.
update?
from react-google-maps-api.
I’m not currently working on it, so feel free to close it if you’d like.
from react-google-maps-api.
Related Issues (20)
- Document link is broken HOT 2
- Doc site not working HOT 1
- Right click doesn't work in InfoBox component HOT 2
- Loading google maps JS API HOT 7
- This page can't load Google Maps correctly. For developmental purposes only.
- Docs link broken HOT 3
- Marker will be discontinued on February 21, 2024. Please use google.maps.marker.AdvancedMarkerElement instead. For more information about the end of support, please visit https://developers.google.com/maps/deprecations. HOT 14
- Marker Icon Misalignment with Custom SVG Path in @react-google-maps/api
- 21st, 2024, google.maps.Marker is deprecated. HOT 7
- Docs website seems to be down HOT 5
- documentation website become gambling ads HOT 1
- README netlify link is showing scam games HOT 1
- Strange behavior of the information window HOT 2
- Can not obtain the paths from the <Polygon> component. HOT 1
- DoubleClick is not working when mouseup event call
- Autocomplete results show after enter N(number) character
- Update Dependencie @types/google.maps HOT 3
- MarkerF icon hover
- setEditable: not a LatLng or LatLngLiteral: in property lat: not a number
- Page on netlify is broken, can't see docs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-google-maps-api.