Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] default extent/zoom/center for maps
Go
New
Search
Notify
Tools
Reply
  
[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: 188 | Registered: May 19, 2017Reply With QuoteReport 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: 1984 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport 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: 279 | Location: Houston,TX | Registered: June 11, 2004Reply With QuoteReport This Post
  Powered by Social Strata  
 

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

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.