Git Product home page Git Product logo

cmv-widgets's People

Contributors

ishiland avatar

Watchers

 avatar  avatar

cmv-widgets's Issues

Coord Attribute

Hi, i'm using Advanced Draw widget in my system application, the issues is when i export the draw, the coord not included in the attribute, the attribute just:

OBJECTID: object_id++,
draw_type: type, // eslint-disable-line
draw_text_string: null, // eslint-disable-line

can you help me about this, add coord in the attribute.

image

Advanced Draw - Clear all drawings

Currently, the only way to clear the map of all drawn features is to use the "undo" button repeatedly until all drawings have been cleared.

Need to implement functionality to clear all drawn features with a single button.

Text symbology can not be edited

Hi,

It appears there is a bug where the text symbology can not be edited. I'm unsure if this is intentional, but clicking Edit Symbol after right clicking on text will cause the edit popup window to appear which then can not be closed. As an immediate solution I have removed the edit symbol function from the right click menu to avoid my end users having to restart their maps.

Save drawings to local storage

Allow for drawings to persist between browser sessions by saving to local storage. Possibly by using Dojo.toJson (link).

Optionally save/load drawings from outside browser to share between users in either json or geoJson format.

How to add the angle for the rotation in your super ADV Draw interface?

First thanks Ishiland to share your code with us... Its a great tools your Advance Draw
I go in advancedDrawConfig.js and I add the angle for the text, its work perfectly...
Do you know how to add that in your tool to be able to change the angle with a number, then I will be able to put the text parallel with my line or polygon, its will be super addin, also how to make a save file of or work int the Advance Draw???

},
defaultTextSymbol: {
color: [255, 0, 255, 255],
type: 'esriTS',
angle:'40',
verticalAlignment: 'middle',
horizontalAlignment: 'center',
text: 'New Text',
rotated: false,
kerning: true,
//haloSize: 12, // no esrijs support - try to make it work
//haloColor: [255, 255, 255, 255], // no esrijs support - try to make it work
//borderLineSize: 12, // no esrijs support - try to make it work
//borderLineColor: [255, 0, 0, 255], // no esrijs support - try to make it work
font: {
size: 12,
style: 'normal',
variant: 'normal',
weight: 'bold',
family: 'sans-serif'
}
},
image
Thanks again for you great work

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.