Select to view content in your preferred language

add shapefile (not .zip) javascript 4.15

526
1
Jump to solution
05-07-2020 02:53 AM
deleted-user-VQ40NmU7Vt6N
New Contributor II

Hello everyone

I am using a Javascript API 4.15 for Arcgis.

I would like to add a shapefile to my map. I don't want to create a .zip file, just add a shapefile using .shp .dbf .shx and .prj as inputs.

Someone knows any code example for this??

Thanks!!!

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Isaac,

You will not find any example of this because a shapefile is make up of 3 to 11 or more files (thus the use of a zip).

View solution in original post

1 Reply
RobertScheitlin__GISP
MVP Emeritus

Isaac,

You will not find any example of this because a shapefile is make up of 3 to 11 or more files (thus the use of a zip).