Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#2766 closed task (fixed)

Implement RFC 157

Reported by: jng Owned by: jng
Priority: low Milestone: 4.0
Component: General Version:
Severity: trivial Keywords:
Cc: External ID:

Description

Change History (2)

comment:1 by jng, 7 years ago

Owner: set to jng
Resolution: fixed
Status: newclosed

In 9143:

Implement RFC 157

This adds a new overload of MgMap::Create that accepts:

  • map definition id
  • map name
  • image width
  • image height
  • view center X
  • view center Y
  • view scale
  • dpi

With this overload, the created MgMap instance can be used on the following APIs statelessly without needing to open it first from a session repository (via a session id and map name pair)

With this change, there is enough APIs in place from which to build a stateless map viewer that can perform selections and does not require creating or interacting with a session repository or resources inside it.

As an addendum to the original RFC, the MgSelectionBase::SetMap method has also been promoted to EXTERNAL_API to allow selections from an MgFeatureInformation to be interrogated without throwing.

A server unit test has been added to verify these new MgMap::Create parameters stick on the map.

A series of .net unit tests have been added to exercise the aforementioned rendering service APIs using the statelessly-created MgMap.

Fixes #2766

comment:2 by jng, 5 years ago

Milestone: 3.34.0

Milestone renamed

Note: See TracTickets for help on using tickets.