Git Product home page Git Product logo

Comments (6)

shamun avatar shamun commented on July 29, 2024

Can you please make the program update so that coords can be converted to CSS for position: absolute?

coords defines (left-top-x, left-top-y, right-bottom-x, right-bottom-y). SO:

  • left = left-top-x
  • top = left-top-y
  • width = right-bottom-x - left-top-x
  • height = right-bottom-y - left-top-y

from summer.

shamun avatar shamun commented on July 29, 2024

Is it fixed? is it available now? when it will be available please?

from summer.

summerstyle avatar summerstyle commented on July 29, 2024

Hi,

I make fully refactoring of my app at this autumn, and in future coords info (x, y, width, height) will display in area properties window.

Now, the generated code of map areas contains absolute coordinates of points (x1, y1, x2, y2). You can calculate width and height of rectangle (x = x1, y = y1, width = x2 - x1, height = y2 - y1). The images in this my article http://habrahabr.ru/post/152731/ will help you.

Or, simply, you can:

  1. Draw areas in my editor
  2. Open Firebug (or similar tool)
  3. Right click on your rectangle, in the context menu select Inspect element
  4. Firebug will show you the svg rect element with your coords

111

from summer.

shamun avatar shamun commented on July 29, 2024

Can you not do it like DreamWeaver? in DreamWeaver you get complete <input type=text with inline css. in your screen shot its showing x=value y=value width=value height=value. Assume i have a large form with 100 input boxes and many slides then doing this manually will be very time consuming.

with dreamweaver you can visually draw text box on top of images which is very fast.

from summer.

summerstyle avatar summerstyle commented on July 29, 2024

No, the main target of my editor is a drawing HTML image maps, and also you can draw areas only to get coords and then manually add this coords to your code.

from summer.

shamun avatar shamun commented on July 29, 2024

NO - then its good for nothing tool. The tool has to allow text box drawing like DreamWeaver did. else its waste of time like all other tools out there.

from summer.

Related Issues (20)

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.