POST
|
Has this feature ever been implemented? We have an application we would like to restrict the tolerance in popup results.
... View more
07-07-2015
08:48 AM
|
0
|
0
|
911
|
POST
|
Sorry, the basemap is not refreshing to the new scale. I have one console error but is was there before, I started this.
... View more
06-10-2015
06:56 AM
|
0
|
1
|
714
|
POST
|
Robert, This worked but the Image is not refreshing on zoom. Any thoughts? Thanks
... View more
06-10-2015
05:42 AM
|
0
|
3
|
714
|
POST
|
I checked that, still see no change in the zoom levels. Thanks for the help.
... View more
06-09-2015
08:19 AM
|
0
|
5
|
714
|
POST
|
if (feature) {
var resultGeometry = feature.geometry;
if (resultGeometry.type === 'point') {
anchorPoint = resultGeometry;
zoomExtent = this.map.extent.centerAt(anchorPoint);this.map.setScale(1200);
} else if (resultGeometry.type === 'polyline') {
anchorPoint = resultGeometry.getPoint(0, 0);
zoomExtent = resultGeometry.getExtent().expand(1.1);
} else if (resultGeometry.type === 'polygon') {
anchorPoint = resultGeometry.getCentroid();
zoomExtent = resultGeometry.getExtent().expand(1.1);
} else if (resultGeometry.type === 'mulitpoint') {
anchorPoint = resultGeometry.getPoint(0);
zoomExtent = resultGeometry.getExtent().expand(1.1);
} else {
anchorPoint = resultGeometry;
zoomExtent = this.map.extent;
} I tried this but did get any result in the app.
... View more
06-09-2015
07:56 AM
|
0
|
7
|
714
|
POST
|
I would like to set the geocoder to zoom to 1:1200. I think I would change the expand.0.0625 for the Point geometry but I am not sure. if (feature) {
var resultGeometry = feature.geometry;
if (resultGeometry.type === 'point') {
anchorPoint = resultGeometry;
zoomExtent = this.map.extent.centerAt(anchorPoint).expand(0.0625);
} else if (resultGeometry.type === 'polyline') {
anchorPoint = resultGeometry.getPoint(0, 0);
zoomExtent = resultGeometry.getExtent().expand(1.1);
} else if (resultGeometry.type === 'polygon') {
anchorPoint = resultGeometry.getCentroid();
zoomExtent = resultGeometry.getExtent().expand(1.1);
} else if (resultGeometry.type === 'mulitpoint') {
anchorPoint = resultGeometry.getPoint(0);
zoomExtent = resultGeometry.getExtent().expand(1.1);
} else {
anchorPoint = resultGeometry;
zoomExtent = this.map.extent;
}
... View more
06-09-2015
07:23 AM
|
0
|
17
|
4830
|
POST
|
Is there a simple way to make the geocoder fire pop-up when you press enter. Thanks
... View more
04-03-2015
07:53 AM
|
0
|
1
|
3626
|
Online Status |
Offline
|
Date Last Visited |
01-29-2024
08:36 AM
|