www.skylinesoft.com Homepage
Forum Home Forum Home > SkylineGlobe Enterprise Products > TerraExplorer for Developers
  New Posts New Posts RSS Feed - CreatePolygonFromArray
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CreatePolygonFromArray

 Post Reply Post Reply
Author
Message
S4M View Drop Down
Visitor
Visitor


Joined: June 05 2016
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote S4M Quote  Post ReplyReply Direct Link To This Post Topic: CreatePolygonFromArray
    Posted: November 08 2016 at 5:53am
Is this broken?

my vertices array looks like
148.17254698562658,-22.207483346225473,155.8251190185547,148.17299590045326,-22.20789566085044,157.186279296875,148.17305361572423,-22.207824863654963,183.39334106445312

var polygon = sgworld.Creator.CreatePolygonFromArray(vertices, "#ff0000", "#ff0000", 3, "", "Polygon");

I am getting a type mismatch error.
Back to Top
S4M View Drop Down
Visitor
Visitor


Joined: June 05 2016
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote S4M Quote  Post ReplyReply Direct Link To This Post Posted: November 08 2016 at 6:23am
Figured it out.
Group cant be empty or null.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.047 seconds.