Kexi/Junior Jobs/Map Browser Form Widget/Properties: Difference between revisions

From KDE Community Wiki
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
Probably should be here, but for now it probably better just to ran kexi with mapbrowser plugin and check what is what
Probably should be here, but for now it probably better just to ran kexi with mapbrowser plugin and check what is what


==Pproposed properties==
==Proposed properties==
This is what I've chosen so far:
This is what I've chosen so far:
* latitude
<table>
* longtitude
  <tr>
* name
    <th>type</th>
* showAtmosphere
    <th>name</th>
* showBorders
    <th>in db</th>
* showCities
    <th>remarks</th>
* showCompass
  </tr>
* showCrosschair
  <tr>
* showGrid
    <td></td>
* showOverviewMap
    <td>latitude</td>
* showScaleBar
    <td></td>
* showTerrain
    <td></td>
* enabled
  </tr>
* zoom


* projection - this one is a little strange, from behaviour it is enum.
  <tr>
* mapThemeId - should be generated list of available themes.
    <td></td>
    <td>longtitude</td>
    <td></td>
    <td></td>
  </tr>
 
  <tr>
    <td></td>
    <td>showAtmosphere</td>
    <td></td>
    <td></td>
  </tr>
 
  <tr>
    <td></td>
    <td>name</td>
    <td></td>
    <td></td>
  </tr>
 
  <tr>
    <td></td>
    <td>showBorders</td>
    <td></td>
    <td></td>
  </tr>
 
  <tr>
    <td></td>
    <td>showCities</td>
    <td></td>
    <td></td>
  </tr>
 
  <tr>
    <td></td>
    <td>showCrosschair</td>
    <td></td>
    <td></td>
  </tr>
 
 
  <tr>
    <td></td>
    <td>showGrid</td>
    <td></td>
    <td></td>
  </tr>
 
 
  <tr>
    <td></td>
    <td>showOverviewMap</td>
    <td></td>
    <td></td>
  </tr>
 
  <tr>
    <td></td>
    <td>showScaleBar</td>
    <td></td>
    <td></td>
  </tr>
 
  <tr>
    <td></td>
    <td>showTerrain</td>
    <td></td>
    <td></td>
  </tr>
 
  <tr>
    <td></td>
    <td>enabled</td>
    <td></td>
    <td></td>
  </tr>
 
  <tr>
    <td></td>
    <td>zoom</td>
    <td></td>
    <td></td>
  </tr>
 
 
  <tr>
    <td></td>
    <td>projection</td>
    <td></td>
    <td>his one is a little strange, from behaviour it is enum.
        In Marble it is called as:
        <ul>
          <li>Globe</li>
          <li>Flat Map</li>
          <li>Mercator</li>
http://api.kde.org/4.x-api/kdeedu-apidocs/marble/html/namespaceMarble.html#a690ffdef71f0afb6f672d159b30c911f
        </ul>
    </td>
  </tr>
 
 
 
  <tr>
    <td></td>
    <td>mapThemeId</td>
    <td></td>
    <td>
should be generated list of available themes
Marble::MapThemeManager::mapThemes()
Marble::GeoSceneDocument::head()->mapThemeId()
    </td>
  </tr>
</table>

Latest revision as of 11:27, 18 June 2011

Full list

Probably should be here, but for now it probably better just to ran kexi with mapbrowser plugin and check what is what

Proposed properties

This is what I've chosen so far:

type name in db remarks
latitude
longtitude
showAtmosphere
name
showBorders
showCities
showCrosschair
showGrid
showOverviewMap
showScaleBar
showTerrain
enabled
zoom
projection his one is a little strange, from behaviour it is enum.
       In Marble it is called as:
mapThemeId

should be generated list of available themes Marble::MapThemeManager::mapThemes() Marble::GeoSceneDocument::head()->mapThemeId()