Comments (3)
Yes this is possible, but you have to write that code yourself.
I think we do not have a sample anymore for that because it requires implementations on each platform and we want to reduce the need for maintenance. I did something like this on MAUI with v4. The Info event will return the screen coordinates (and the tapped feature if you tapped one), you can use the screen coordinates to show the user control over the MapControl.
I did this on MAUI and I needed a transparent (input-transparent and color-transparent) AbsoluteLayout placed on top of the MapControl to be able to place the user control on the screen coordinates (Perhaps I should derive the MAUI MapControl from AbsoluteLayout to make this easier).
btw, In most of my projects I end up placing the user control to side or the bottom, because it is just nice UI to have it in a fixed position.
from mapsui.
Thank you very much for the prompt response.
I will look into MAUI v4.
I noticed that you positioned the user control in the bottom corner. I'm accustomed to having information closer to the pin, but I will evaluate the advantage of placing it in a fixed position.
from mapsui.
With 'UseControl' I assumed you are referring to a popup created with MAUI controls. We have no samples of that. About 'positioned the user control in the bottom corner', I think you are referring to the MapInfoWidget, this is just an option, mainly added to keep the samples simple. Another option would be to use a callout. Loot at the Info|SingleCallout sample.
from mapsui.
Related Issues (20)
- Allow adding EventHandlers
- Website/documentation high CPU usage HOT 1
- How to modify ZOrder of IFeature ? HOT 4
- Animations freeze in WPF under heavy load. HOT 2
- How to use EditingWidget HOT 1
- Can use RasterizingLayer and open IsMapInfoLayer=true,performance degradation HOT 1
- Replacement of map.home function in 5.0 Beta HOT 3
- Maui performance issues under Android HOT 20
- Wrong attribution link after switching map layer HOT 2
- Performance collapse with many Refresh calls and zooming out HOT 2
- Layer is not updated after fetches because the Delayer hangs HOT 1
- Viewport.Rotation could get to 360 ° or more HOT 9
- Some of the Mapsui.Tests.Fetcher are not working HOT 10
- Improve RasterStyle HOT 4
- [Uno] Use SKSwapChainPanel whenever possible HOT 2
- In Map.DataChanged event, DataChangedEventArgs Layer name is empty. It should contains the Layer Name. HOT 3
- [UNO] MapInfo tapable area is off from symbol HOT 8
- Density Coordination HOT 2
- IDisposable guidelines HOT 1
- Map.Info eventargs return null for args.MapInfo.Feature when clicking on feature. HOT 2
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 mapsui.