Ticket #1958 (closed feature: duplicate)
Improve OL.String.format() to allow for more advance tokens like ${foo.bar}
| Reported by: | rdewit | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.8 Release |
| Component: | BaseTypes | Version: | 2.7 |
| Keywords: | Cc: | ||
| State: | Review |
Description
Once we support these advanced tokens, we can quite easily implement ExtendedData handling in KML where you have constructs like $[holeNumber/displayName]. This would be translated in Format.KML to ${holeNumber.displayName}.
It will also be possible to access 'infinitely' nested objects like ${a.b.c.d.e.f} directly.
Change History
Note: See
TracTickets for help on using
tickets.
