Git Product home page Git Product logo

Comments (7)

fariouche avatar fariouche commented on August 16, 2024

The map file, I can't upload it so I embed it here:

<map name="map">
<!-- #$-:Image map file created by GIMP Image Map plug-in -->
<!-- #$-:GIMP Image Map plug-in by Maurits Rijk -->
<!-- #$-:Please do not edit lines starting with "#$" -->
<!-- #$VERSION:2.3 -->
<!-- #$AUTHOR:fariouche -->
<area shape="circle" coords="16,100,10" href="I_SW_PWR" />
<area shape="circle" coords="324,408,13" href="I_SW_RST" />
<area shape="circle" coords="280,407,12" href="O_LD_GREEN" />
<area shape="rect" coords="8,210,26,258" href="B_USB_PORT" />
<area shape="rect" coords="63,97,357,319" href="B_DISPLAY" />
</map>

from picsimlab.

lcgamboa avatar lcgamboa commented on August 16, 2024

Hi @fariouche ,

your map file lacks the first line with the size of the picture. This size is used by PICSimLab.

<img src="[picsimlab7] (overwritten)" width="425" height="425" border="0" usemap="#map" />

<map name="map">
<!-- #$-:Image map file created by GIMP Image Map plug-in -->
<!-- #$-:GIMP Image Map plug-in by Maurits Rijk -->
<!-- #$-:Please do not edit lines starting with "#$" -->
<!-- #$VERSION:2.3 -->
<!-- #$AUTHOR:fariouche  -->
<area shape="circle" coords="18,102,8" href="I_SW_PWR" />
<area shape="circle" coords="324,407,11" href="I_SW_RST" />
<area shape="circle" coords="280,408,10" href="O_LD_GREEN" />
<area shape="rect" coords="11,211,26,256" href="B_USB_PORT" />
<area shape="rect" coords="62,99,359,320" href="B_DISPLAY" />
</map>

from picsimlab.

fariouche avatar fariouche commented on August 16, 2024

Strange, it is what gimp outputed ... I followed your doc.
Maybe I missed something? Or the svg is also wrong and missing the size too?

from picsimlab.

lcgamboa avatar lcgamboa commented on August 16, 2024

Your SVG it's ok.
Add the line:
<img src="[picsimlab7] (overwritten)" width="425" height="425" border="0" usemap="#map" />
to your map file to make it work.
mstack

from picsimlab.

fariouche avatar fariouche commented on August 16, 2024

The svg is missing the bottom part (a led and the reset button)
The same kind of button to the left(USB c and power button) are fine.
thanks for the map, I will try

from picsimlab.

fbenamrouche avatar fbenamrouche commented on August 16, 2024

Just had a look at my map file and discovered that I already have the line... I missed it when I copied it here...
Anyway, I've found that the map size didn't match the svg size for some reason. FIxed that and it now works, thanks!

from picsimlab.

fariouche avatar fariouche commented on August 16, 2024

I can continue now thanks

from picsimlab.

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.