Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G g1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 68
    • Issues 68
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cto
  • g1
  • Issues
  • #48
Closed
Open
Issue created May 17, 2018 by Sundeep Reddy Mallu@sundeep.malluMaintainer

Drill down feature in MapViewer

Summary

Ability to show more granularity maps on clicking on geojson layers.

Usage

      drilldown: {
        rootLayer: 'indiaGeojson',
        drilldown_levels: ['STATE_N', 'DISTRICT', 'VILL'],
        nextLayer: function(name) {
          return {
            layerName: name + '_layer',
            layerOptions: {
              url: name + '.geojson',
              type: 'geojson',
              attrs: {
                fillColor: {
                  metric: 'TOT_P',
                  range: 'RdYlGn'
                }
              }
            }
          }
        }
      }

Examples

(Add code samples of usage, with expected output)

Edited May 24, 2018 by Tejesh
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking