I have a website containing many paragraphs.
There are centres inside city regions.
Inside one of the paragraphs on the page - when user clicks a part of svg map - the centres of the selected region should appear. With ajax prefereably.
I'm scratching my head how to start. I've tried to use views_field_formatter module and make a new paragraph with field that renders view-block but I don't have a clue how to make it ajaxified and pass parameters.
Are there any better solutions? Any help appreciated.