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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] default extent/zoom/center for maps

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] default extent/zoom/center for maps
 Login/Join
 
Platinum Member
posted
Hello All,

Hope you are enjoying Summit. I'm on it, but plugging away on a few things too.

I have a map that displays fine...

GRAPH FILE
...
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HAXIS 1008.0
ON GRAPH SET VAXIS 768.0
ON GRAPH SET LOOKGRAPH BUBBLEMAP
ON GRAPH SET EMBEDHEADING ON
ON GRAPH SET AUTOFIT ON
...
*GRAPH_SCRIPT

*GRAPH_JS_FINAL

"chartFrame": {
    "border": {
        "width": 1.0
    }
},
"extensions": {
    "com.esri.map": {
        "overlayLayers":             [
                {
                    "ibiDataLayer": {
                        "map-geometry": {
                            "map_by_field": "CARS"
                        }
                    }
                }
            ],
        "baseMapInfo": {
            "customBaseMaps":                 [
                    {
                        "ibiBaseLayer": "dark-gray"
                    }
                ]
        }
    }
},
"matrixProperties": {
    "cellBorder": {
        "width": 1.0
    }
},
"pieProperties": {
    "holeSize": "0%"
},
"fill": {
    "color": "rgba(0, 0, 0, 1)"
},
"agnosticSettings": {
    "chartTypeFullName": "Bubblemap"
}
*END
ENDSTYLE
END


It displays fine most of the time (the extent of the map is correct), but when only one point is displayed on the map, the default extent of the map is the whole world. How can I make it so zooms to the one dot?

Thank you!

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8201, SP 0.1, Windows 7, HTML
 
Posts: 190 | Registered: May 19, 2017Report This Post
Virtuoso
posted Hide Post
Shingles

My expert on this is no longer with IBI so I suggest you open a case with techsupport if it is still an issue.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2128 | Location: Customer Support | Registered: April 12, 2005Report This Post
Guru
posted Hide Post
It looks like you can customize some additional map properties according to the wfschart82.pdf

Introduction to Map Properties
WebFOCUS supplies default property values for many map attributes, such as the extent of the
map in the frame and the default maximum and minimum zoom. It also finds the center point
for the geometry being used. However, you can customize all Esri map properties using their
API, described at:
https://developers.arcgis.com/...pi/map-amd.html#map1
You can also use several general WebFOCUS chart properties to enhance the charts


-********************
Sandbox: 8206.10
Dev: 8201M
Prod:8009
-********************
 
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004Report 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     [CLOSED] default extent/zoom/center for maps

Copyright © 1996-2020 Information Builders