Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#122 closed task (fixed)

Widget - ZoomTo

Reported by: adube Owned by: adube
Priority: major Milestone:
Component: widgets Version:
Keywords: Cc:

Description

Create a new widget that consists of a button added to the toolbar. On click, display a popup with X and Y fields, a dropDown list of projections and a "zoom" button.

The user inputs the coordinates and the map is re-centered.

Change History (5)

comment:1 by adube, 14 years ago

Owner: set to adube
Status: newassigned

comment:2 by adube, 14 years ago

r851, featuring :

missing :

  • i18n

comment:3 by adube, 14 years ago

i18n

The i18n support is already added inside the GeoExt.ux widget source (french only). Should we find a way to use it directly or should we have our own i18n definition with getText and all ? If I could know the "locale" code, I would be able to include the i18n js file accordingly.

Comments would be welcomed.

comment:4 by adube, 14 years ago

Resolution: fixed
Status: assignedclosed

r860.

The local code can be easily accessed in xslt with the $g_locale variable. So, 'fr.js' is now automatically included if locale=fr_CA. If any more code needs to include 'fr.js', we'll need to add them manually in the .xslt file (see in ZoomTo.xslt for more).

Also, if any more translations are needed for this widget, they should first be added to the GeoExt.ux.ZoomTo widget directly, then added to the .xslt file

That solved the last task to do for this widget.

in reply to:  4 comment:5 by yvesm, 14 years ago

Thanx !

Note: See TracTickets for help on using tickets.