Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I want to load Shape file in Flexviewer 2.2

Any sample would help a lot.

Thanks

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

Here is the same widget updated for flex 2.2, linked in Simon Jackson's solution on the resource center.
Load Shape file flex viewer 2.2

share|improve this answer
    
Thanks for the answer. –  Omega Cancer May 5 '11 at 3:18
add comment

Not tested this, but this widget could do what you want:

DESCRIPTION: To Allow the user to select any shape file in zip format (that is example.shp – for geometry and example.dbf - for Attributes, are only files to be zipped) and display over the current Map as graphics. Actually it creates a custom geometry to take advantage of the coordinate array format in the shapefile reducing the impedance and taking advantage of the compression. This an array of x,y,x,y,etc... That’s all; it can then be rendered with any symbol.

ASSUMPTIONS: Only Polygon shape file to be added is allowed as current limitation but for sure libraries are ready that are open to be extended and customized as you want.

I also remember reading Mansour's blog (Heads up Esri Flex team) and he has a post on how to achieve this in a native Flex app.

share|improve this answer
    
Thanks for the answer. –  Omega Cancer May 5 '11 at 3:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.