패키지, 저장소 및 앱 카테고리 검색

GitHub 저장소itzMeerkat/flutter_image_map

flutter_image_map

itzMeerkat/flutter_image_map open-source repository details.

flutter_image_map 프로젝트 이미지
스타
8
포크
5
최근 푸시(UTC)
2025. 6. 11.
프로젝트 상태
활성

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

flutter_image_map

pub version

A simple but (hopefully) useful package that implements the HTML image map standard.

What is an Image Map?

Originally introduced in HTML 3.2 as a replacement for server side imagemaps. Server side image maps were clunky requiring a round trip to the web server to determine where to go based on the coordinates clicked in the image. Thus client side image-maps were born!

An imagemap is a graphic image where a user can click on different parts of the image and be directed to different destinations. imagemaps are made by defining each of the hot areas in terms of their x and y coordinates (relative to the top left hand corner). With each set of coordinates, you specify a link that users will be directed to when they click within the area.

As an example, say you have a map of the World that you wish to act as an image map. Each country could have their hot areas defined on the map to take you to different pages.

Examples

Check out the Example project for a full example code of all the differents ways to define image map regions.

Tools

  • https://www.image-map.net/ makes it extremely easy to create free HTML based image maps.
  • There is also a ROI(Region of interest) selecting tool in this project!
    ROI select tool link: http://www.jiayizhang.me Website down. Source code of the tool is in this repo (index.html in root folder). Just open it in browser should be fine.
How to use ROI selecting tool
  1. Select an image image

  2. Click on the image to add vertices of ROIs image

  3. If you want to create a new ROI, click on "New Polygon" image

  4. When you are done, press "Export" image

  5. It will pop up a dialog image

The format of the data is:
List<List>, each sub-list describes a polygon. To adjacent numbers represent a position.
e.g.
[
[x1,y1,x2,y2,x3,y3,...],//Polygon 1
[x1,y1,x2,y2,x3,y3,...],//Polygon 2
[x1,y1,x2,y2,x3,y3,...],//Polygon 3
]

itzMeerkat GitHub avatar
GitHub 작성자

itzMeerkat ↗

언어DartHTML

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 3 개

프로젝트에 맞는 저장소를 선택하려면?

사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.

  1. 이름, 작성자 또는 설명으로 검색하고 기술 주제로 범위를 좁힙니다.
  2. 스타, 포크, 최근 푸시를 함께 비교하세요. 스타는 관심의 지표이며 품질을 보장하지 않습니다.
  3. 사용하기 전에 GitHub에서 README, 라이선스, Issues를 확인하세요.

출처 및 관리

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗