Author Topic: GDImage MAP (the project)  (Read 3505 times)

0 Members and 1 Guest are viewing this topic.

Offline Patrice Terrier

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1996
    • www.zapsolution.com
GDImage MAP (the project)
« on: May 16, 2011, 11:44:35 PM »
GDImage MAP (GMAP.exe) is the SDK transposition of several WinDev projects, which made the success of GDImage in the PC-Soft community.

It is based on the use of the ZI_ZoomWindow property, that is well behaved to manipulate large maps or plans, altogether with the hability to display floating sprites hover the background, to represent GPS informations or architecture equipments.

The ZI_ZoomWindow property, adjusts automatically the size of the sprites floating hover the background, while zooming the display.

The project uses three GDImage controls:
(1) - The contact sheet, located on top of the main window, it allows selecting of a specific picture/project.
(2) - The main layer, that displays the active picture/project, it could be populated with sprites.
(3) - The thumb popup, contains a red rectangle (a sprite object) matching the size of the viewport, and the zoom slider.

Moving the viewport:
(A) - Inside of the main layer, you can use the scrollbars or the left mouse button to drag it around.
(B) - You can also drag the red rectangle inside of the thumb popup, and that would do exactly the same than (A).

Thumb popup:
Drag the caption to move the tool window to a new location.
Use the slider to zoom in/out the picture/project.

Sprite objects:
When they are sprites associated to a specific image, you can change their state with a double click of the left mouse button.
If they are unlocked, you can change their location, else you can only select them.

Bottom pannel:
Displays useful informations about the picture/project (from the left to the right):
- The mouse XY location when hover the main layer.
- The unique sprite ID #.
- The matching ID # label.
- The XY location of the top left corner matching the sprite ID # (when you put the mouse hover a specific sprite).

Horizontal splitters
- Top splitter, show/hide the contact sheet to give more room to the main layer.
- Bottom splitter, show/hide the bottom pannel to give more room to the main layer.

Note: You can add pictures of your own, just put them into the project "Map" folder.



Added:

See the new version Gmap2 here

...


« Last Edit: April 03, 2014, 09:25:16 AM by Patrice Terrier »
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Offline Patrice Terrier

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1996
    • www.zapsolution.com
GDImage MAP (image size)
« Reply #1 on: May 17, 2011, 08:00:54 AM »
GDImage MAP is able to handle pictures as big as 10000 x 10000 pixels.
However to keep the program responsive and save CPU resources, the API ZI_SetFromFileEx(ghZoomCtrl, (sFileName), 3000, 3000) is being used to resize the picture on the fly to 3000 pixels square, preserving the aspect ratio.

...

« Last Edit: May 17, 2011, 12:27:09 PM by Patrice Terrier »
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Offline Patrice Terrier

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1996
    • www.zapsolution.com
Re: GDImage MAP (the project)
« Reply #2 on: August 08, 2011, 08:51:04 PM »
The first post of this thread has been updated, to fix the ZIP file corruption caused by the "Server Collapse".

...
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com