Can't get `react-annotations` to show over a map
See original GitHub issueHi, love react-simple-maps!
I have a problem which I cannot solve - I’ve checked the web for answers but cannot find any. Hence my logging of an issue.
I have a world map and I want to overlay annotations from react-annotations
but they just don’t show up. Do you have an example of this working?
Thanks!
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Can't see MapBox React Native GL annotations - Stack Overflow
I have set the map center to the same position as the first annotation so it should definitely be in view. All other...
Read more >Getting started with React Maps component - Syncfusion
This section explains you the steps required to create a map and demonstrate the basic usage of the maps component. You can explore...
Read more >Lists and Keys - React
Lists and Keys ... First, let's review how you transform lists in JavaScript. Given the code below, we use the map() function to...
Read more >Controls - Storybook - JS.ORG
Auto-generate controls based on React/Vue/Angular/etc. components. ... See the documentation about customizing controls with argTypes annotation for more ...
Read more >Use React and Spring Boot to Build a Simple CRUD App
It's great that you can see your Spring Boot API's data in your React app, but it's no fun if you can't edit...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @abax1, Yeah, we didn’t get around to add a proper example of how to use react-annotation with react-simple-maps yet. The best way to go about this is to put the annotation component inside a
Marker
component. That way you can place it geographically.Hope this helps.
Usage would be: