gis / openscales (http://openscales.org/)

OpenScales is a Open Source (LGPL) mapping framework based on ActionScript 3 and Flex. It has been designed for building Rich Internet Mapping Applications easily.

Clone this repository (size: 18.3 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/gis/openscales
follow

See the FixMe flag in CrosshairCursor.as

Status: new Responsible: aba Type: bug
Milestone: release1.3 Component: none Version: none

Attachments

No attachments added for this issue yet.

Comments and changes

#1

slopez

→ Changed status from new to open.

The map's coordinates are well managed but currently the display of X and Y in the cursor are limited to 3 digits :-(

See http://jessewarden.com/2009/01/making-a-cooler-cursor-in-flex.html for the definition of cursorCrosshair.swf


#2

slopez

If MousePosition control is used, the coordinates are displayed in the displayProjection instead of map's projection.

There is still the cursorCrosshair.fla to modify to use a no limited number of digits in cursorCrosshair.swf


#3

slopez

How is it possible to modify the cursorCrosshair.fla ?


#4

slopez

→ Changed milestone from nothing to release1.2.

→ Changed status from open to new.

--


#5

slopez

→ Changed milestone from release1.2 to release1.3.

No more new functionnality on OpenScales 1.2, only refactoring


#6

slopez

It seems the current code from CrosshairCursor is only aimed at displaying coordinates of the map center, not the real cursor coordinates.

There's also no need to modify the fla file to get more than 3 digits, you just have to set the textfields to autosize in the class.

Here's a proposed patch for the issue.


Add comment / attachment

Show/hide preview

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?