Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Maps options

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Maps options
 Login/Join
 
Master
posted
Working with maps and can't figure out how to turn the overlay icon, zoom, and the "Unknown" off.

Anyone ever have to do this?

This message has been edited. Last edited by: GavinL,



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
Virtuoso
posted Hide Post
The Unknown is associated with having values that don't exist in your base layer. So, if you're using US and mapping values in Russia, you'll get Unknown values.

I'm not sure how to get rid of the zoom and layer.

This message has been edited. Last edited by: BabakNYC,


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Master
posted Hide Post
Thanks for your help.

mapProperties: {
	controls: [{
-*COMMENT THE FOLLOWING 1 of 2 lines for layers icon.  I think it's based on how many layers you have and we have 2.
		control: 'L.Control.Layers',
	}],
	leaflet: {
		mapOptions: {
-*ZOOM CONTROLS
			zoomControl: false
		},
		initPos: {
			center: [37.8,-96],
			level: 4,
		},
		overlayLayers: [{
			"seriesID": 0,
			"markerType": "choropleth",
			title: "Loans by State",
			dataLookup: "properties.state_abbr",
			layerInfo: {
				type: "regions"
			},
			type: "tdg",
			url: function(){
				returntdgchart.getScriptPath()+'map/US.json'
			}
		},
		{
			title: "Loans by City",
			"seriesID": 1,
			"markerType": "bubble",
			dataLookup: "properties.STATE_CITY",
			type: "geojson",
			url: function(){
				returntdgchart.getScriptPath().replace(/\/tdg\/.*/,
				'/web_resource/map/')+'state_city.geojson'
			}
		}],
		controls: [{
-*COMMENT THE FOLLOWING 2 of 2 lines for layers icon.
			control: 'L.Control.Layers',
		}],
		baselayers: [{
			title: "ArcGIS_World_Street_Map",
			layerInfo: {
				minZoom: 3,
				maxZoom: &MAX_ZOOM,
				attribution: function(){
					return"&|copy; YOLO";
				}
			},
			url: function(){
				return'http: //services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{z}/{y}/{x}';
			}
		}],
	}
},

This message has been edited. Last edited by: GavinL,



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
Gold member
posted Hide Post
I am using default google maps of webfocus is there any better way to toggle thru different layers and I don't want to have Show All button in my Layers drop down on the map. If it is possible please Help.

Thanks,
Gaurav Tyagi


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 58 | Registered: November 19, 2014Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Maps options

Copyright © 1996-2020 Information Builders