Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Interactive, Responsive HTML Code on map #198

Open
strxetics opened this issue Nov 8, 2018 · 2 comments
Open

Feature Request: Interactive, Responsive HTML Code on map #198

strxetics opened this issue Nov 8, 2018 · 2 comments

Comments

@strxetics
Copy link

strxetics commented Nov 8, 2018

Hello,

is there a way to render zoom-responsive, interactive Components on the map?
If so that would be a great feature. E.g. for a user placing notes on the map a in resizable Rich-Text-Editor.

Thanks in advance
and best regards

Stefan

@mstahv
Copy link
Owner

mstahv commented Feb 16, 2019

I think the best way is to use plain Vaadin features to accomplish that. You can use Window to be placed on the map, AbsoluteLayout (put both map and the overlay component there) or work with CSS to put the components there. Do you have a more detailed wireframe or some other illustration what you'd like to accomplish? I'm pretty sure it is possible today, but we'll just need an example.

@strxetics
Copy link
Author

strxetics commented Feb 18, 2019

What i want is to render a Vaadin component on the map, which has an anchor at a location. So that, if i move the map, the component moves with it.

E.g. I put a component with two buttons(compared to a Marker which is only one button) to New York, then i move the map to Turku ;), and as soon as New York leaves the map, my component is also not visible anymore.

As far as i understand, if i were to do it the way you described, the component would be static?!

Thanks for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants