Open HerbOtto opened 2 years ago
Would be a great enhancement to this package. I need this aswel for a project I'm currently building to show a certain range on the map for cases like this
Would love to see something similar or maybe more operations on what we can draw/add to the map
Wow this would be fantastic, I am trying to draw some things like ovals with the canvas of the tkintermapview but with no success
Would be a great enhancement to this package. I need this aswel for a project I'm currently building to show a certain range on the map for cases like this
Were you successful with this? I have implemented something for my application but I was thinking of makint it generic to add it as a Pull request.
Would be a great enhancement to this package. I need this aswel for a project I'm currently building to show a certain range on the map for cases like this
Were you successful with this? I have implemented something for my application but I was thinking of makint it generic to add it as a Pull request.
I was not able to build this according to the image I linked. The image I showed merely gives an example for my use case. I tried drawing ovals in the canvas itself but with no luck sadly.
Would be a great enhancement to this package. I need this aswel for a project I'm currently building to show a certain range on the map for cases like this
Were you successful with this? I have implemented something for my application but I was thinking of makint it generic to add it as a Pull request.
I was not able to build this according to the image I linked. The image I showed merely gives an example for my use case. I tried drawing ovals in the canvas itself but with no luck sadly.
hi @GijsGoudzwaard I have been capable of drawing it as I show in the image, however I am not satisfied with the degrees to pixel conversion for the radius of the ranges.
I have added it as a parameter to a generic marker, so in case you need it with planes icon, you can use it.
Would be a great enhancement to this package. I need this aswel for a project I'm currently building to show a certain range on the map for cases like this
Were you successful with this? I have implemented something for my application but I was thinking of makint it generic to add it as a Pull request.
I was not able to build this according to the image I linked. The image I showed merely gives an example for my use case. I tried drawing ovals in the canvas itself but with no luck sadly.
hi @GijsGoudzwaard I have been capable of drawing it as I show in the image, however I am not satisfied with the degrees to pixel conversion for the radius of the ranges.
I have added it as a parameter to a generic marker, so in case you need it with planes icon, you can use it.
Could you show your code? I'm curious how you got it working, as would others be I'm sure.
I pretend to make a pull request, but I think branches from outsiders are not supported :S
Check my proposed pull requests, as ovals can not have alpha or stipples, drawing it in blank seems like the best option.
Checked your proposal but I had some problems with it. For instance I could not zoom in or out properly and the circle would sometimes disappear. Also instead of adding a parameter to the set_marker
function I would create a class like https://github.com/TomSchimansky/TkinterMapView/blob/main/tkintermapview/canvas_polygon.py so you could add multiple range circles on the map even without a marker, like to polygon. You could probably copy that class and make some small adjustments to make it work, though I have not tried it.
Great job! Thank you for creating this super handy widget.
Feature Request: The ability to add a range circle centered on the specified lat, long with a radius in meters? [with a specified stroke/fill color w/alpha]. This could also be used as a smaller alternate waypoint indicator which would vary in size based on zoom level.
Regards