Skip to content

evermanwa/Zoom-To-Extent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Zoom To Extent

Built and Tested against CMV 1.3.4

ZoomToExtent does exactly what it says. It allows a user to draw the extent on their map in which they want to zoom to.

I got the idea, and majority of the code, of how to do it from the MapExtent project you can find here: https://github.com/ERS-Long/MapExtent

Viwer Configuration Settings:

			ZoomToExtent: {
				include: true,
				id: 'ZoomToExtent',
				type: 'titlePane',
				canFloat: true,
				path: 'gis/dijit/ZoomToExtent',
				title: 'Zoom To Extent',
				position: 18,
				options: {
					map: true
				}
			},

First Click on the zoom to extent button:

Screenshot

Then select the area you want to zoom the map to

Screenshot

The map should now be zoomed to your desired extent

Screenshot

About

ZoomToExtent widget for CMViewer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published