judero01col / GMap.NET

GMap.NET Windows Forms & Presentation is an excellent open source, powerful, free and cross-platform .NET control. Allows the use of routing, geocoding, directions and maps from Google, Yahoo!, Bing, OpenStreetMap, ArcGIS, Pergo, SigPac, Yendux, Mapy.cz, Maps.lt, iKarte.lv, NearMap, HereMap, CloudMade, WikiMapia, MapQuest and many more.
Other
463 stars 202 forks source link

Mouse double click event stopped working on v1.8.5 #10

Closed FrozDark closed 5 years ago

FrozDark commented 6 years ago

After updating the GMap from 1.8.1 to 1.8.5. the mouse double click event stopped working

judero01col commented 6 years ago

Greetings, I just performed the test the double click event is working. Could you give me the information about what you are trying to do?

FrozDark commented 6 years ago

I have a usercontrol with the map in it. I have set GMapControl modifiers property to public. After creating the usercontrol I create DoubleClick event listener MapElement.MapControl.MouseDoubleClick += MapControl_MouseDoubleClick; But the event doesn't fires

Chadley08 commented 6 years ago

I have also noticed that the double click event has stopped firing in 1.8.5

GusGiann commented 6 years ago

Me to on GmapControl in general. OnPolygon and onMarker click works fine. Has anyone found a solution ?

judero01col commented 5 years ago

I found the error, the solution I am going to publish in version 1.8.6, I will try to publish tomorrow in afternoons, greetings.

GusGiann commented 5 years ago

Can you please please please give info and directions what to fix and were because I have already customized Gmap.net 1.8.5 Core to work with paid Maps (take in mind that I am a VB Developer) Thank you very much in advance for your help!

judero01col commented 5 years ago

Greetings, you should only correct the invasion of the MouseDoubleClick event in the GMapControl class of the GMap.NET.WindowsForms project.

I leave a few screenshots of the change you must make

this is the location image

method to modify image

change made in red image

judero01col commented 5 years ago

Excuse me just out of curiosity, and if you can know, what are the maps you are integrating?

GusGiann commented 5 years ago

Very Sorry for the late reply. First of all Thank you very much for your images and explanation for the double click(I mentioned I am primarily a VB Developer so it is a painful to search code in C).

We Use Here Maps for Tile Maps,Geocoding and reverse Geocoding because for my country is more complete in street numbers.

I Know that you have included HereMapsProvider but as i have already mentioned Here Maps expect different declaration of local language (3 letters country language) for displaying the appropriate tiles (not the default 2 letter country code en,el, etc), and Here Maps Traffic Tiles spend lot of client account credit. So we used different tile set and different language declaration for Geocoding and Reverse Geocoding from HereMaps (and not nominatim from OpenStreetMaps) I used StreamReaders on Rest Api (because I don't like Java and JS either) to get the job done.

Till today seems to work just fine hopping not to overpass the financial budget of client.

If you have any other questions i will be more than happy to help you also.!

Cheers !!