CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

styleMap bug?

by asp » 04 Jul 2014 13:18

Hello!

Possible bug with TIWCGJQMapQueryLayerOptionsJSon.StyleMap.

I would like to set a style for JSon layer.

I set

{"default":{"fillColor":"#ff0000"}}

as StyleMap property, but I got JavaScript error

TypeError: this.styleMap.createSymbolizer is not a function.

See attached project.
You do not have the required permissions to view the files attached to this post.
asp
 
Posts: 235
Joined: 06 Dec 2013 11:17
Location: Moscow, Russia

by Alexander Bulei » 04 Jul 2014 16:55

Hi asp,

It's a bug, and will be fixed in next build.

P.S: you will not need the "default", set it directly :

Code: Select all
{fillColor:"#ff0000"}


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 JQMapQuery

cron

Who is online

Users browsing this forum: No registered users and 4 guests

Contact Us.