Javascript API Bug

1006
0
11-23-2016 03:49 AM
RedasTruikys
New Contributor

Hi.

I want to report minor bug, not sure is this right place to do it so excuse me please.

Note  i don't believe this is exceptionally 4.x issue.

I am getting this javascript error.

"screenUtils.toPt: input not recognized!"

This is caused when setting xoffset/yoffset of PictureMarkerSymbol to "-10px" or  "-8pt". As i assume problem here is  regexp fails to match '-' character of given expression.

Work around to this bug at this time is simply to use numeric (non string) in Pt offset values, anyway this should be fixed.

 

bug‌api js api 4.x‌

Tags (3)
0 Kudos
0 Replies