AnsweredAssumed Answered

Center a web map

Question asked by creophq on Feb 10, 2017
Latest reply on Feb 10, 2017 by rscheitlin

I'm new to all this, created a web map, can see it on a web page by using copying sample code.  Can I re-center my web map by setting the [center] value in the config options.  I tried below but it seems to be ignored.

configOptions = {
webmap: "eaab774a02b94ca6b8d8981c01652e6e",
title: "",
subtitle: "",
//www.arcgis.com sharing url is used. modify this if yours is different
sharingurl: "https://www.arcgis.com/sharing/rest/content/items",
center: [-117.895287, 33.745709]
};

Outcomes