I have two databases with locations. I want to show markers from both so I used search for locationA address within 5 miles of current geo address merged with LocationB’s address within 100 miles of current geo location.
It seems to be working (sometimes?) but it reports an error saying saying mapA type should be LocationA.
Am I doing something wrong?
Hey @henrik.bs.pedersen You can do this by changing the Type of markers to be geographic address. Then the search should work as long as you use the ‘address’ field within the LocationA and LocationB types. It would look like: “Search for LocationA’s address merged with Search for LocationB’s address”, similar to:
Thanks. That helped
Do you know if there is any way to control marker icons when merging data sources?
No problem I don’t think it’s possible with the Bubble map element currently, unless everything was one type of Thing, and using the data dependent field for the pin.
If you need to keep the types as separate, one possible workaround would be to create a new type for just map markers, that stores a unique id of an A or a B in a text field, geographic address, and pin image for the map marker. This way, if you are showing information based off of which map marker is clicked outside of the map element, you can conditionally show groups depending on if the unique ID matches an A or a B. (This might be a little more slow though!)