Cruisers Forum

Join CruisersForum Today

Thread Tools Rate Thread Display Modes
Old 28-12-2014, 03:29   #1
Registered User

Join Date: Dec 2014
Posts: 1
openCPN plugIn map merker (mark,point)

Hello. I want to create custom map marker for my plugIn . I find only AddSingleWaypoint(...) method but I can't manage mouse Events for PlugIn_Waypoint. I need custom icon, title,implements mouse Events (like google map marker) . Please help me. How I can create similar marker for my plugin? Thanks
ardmn is offline   Reply With Quote
Old 30-12-2014, 06:34   #2
Registered User

Join Date: May 2012
Posts: 473
Re: openCPN plugIn map merker (mark,point)

'AddCanvasContextMenuItem' lets the plugin add a menu item.

Using right click brings up the menu and allows the item to be selected like the other menu items. The cursor position at the time of right click can be captured with OnCursorLat etc.

This 'special' menu item then allows you to 'AddSingleWaypoint' at that cursor position etc etc.

Does this get anywhere near what you are trying to do?

Rasbats is offline   Reply With Quote

enc, opencpn, plug

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
CPA / TCPA calculation to any point on map 3rw1n OpenCPN 7 08-03-2014 00:55
Want To Buy: C Map NT+ (not C Map Max) ianca Classifieds Archive 0 21-02-2013 04:10
C-Map NT+ Vs C-Map Max River Cruiser Marine Electronics 2 28-06-2012 09:19
Writing Plugin for Map Format ? Netsurfer OpenCPN 7 17-08-2010 16:09
Point No Point Lighthouse For Sale TaoJones Atlantic & the Caribbean 10 25-11-2007 07:14

Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 14:56.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.