CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Different states for same marker

by assapan » 27 May 2014 09:20

Hi,
in my application , i display the aerological information for airfields . these informations are time related to show the weather evolution.
I'd want to display a time line to see the evolution in next hours.
so i have so far to redraw the full map to set the right icon for the right condition ( green for VFR , blue for MVFR , red for IFR ).

so my question is , is there a way to easily change the icon ( bubble in my case ) without recreating all the markers ? maybe set some markers invisible and make same visible ?

thank for your support
You do not have the required permissions to view the files attached to this post.
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by Alexander Bulei » 27 May 2014 10:17

Hi assapan,

That depends on your code/implementation.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by assapan » 27 May 2014 14:21

I am trying to have some hidden markers using Options.visible but it doesn't work , is this option available ?
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by Alexander Bulei » 29 May 2014 11:10

Hi assapan,

It's possible to change the icon without refresh, but only with javascript at this moment.

Check attached demo, and let me know if you want change fot multiple markers.

Best Regards.
You do not have the required permissions to view the files attached to this post.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by assapan » 29 May 2014 11:24

Hi,
thanks , but the testframe source is missing :?
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by Alexander Bulei » 29 May 2014 11:25

Hi assapan,

Sorry, remove the reference.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by assapan » 29 May 2014 11:50

hi it works great.
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by Alexander Bulei » 29 May 2014 16:44

Hi assapan,

Just for information, improved/added in V2.1.0.3649

Code: Select all
2.1.0.3649

JQGMap3:
- Improved/Added: support for ajax changing of TIWCGJQGMap3MarkerOptions properties:
   * Icon
   * Cursor
   * Draggable
   * Title
   * Visible
   * ZIndex
   
- Added: Support for changing properties of multiple markers


Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQGMap

Who is online

Users browsing this forum: No registered users and 3 guests

Contact Us.