Select to view content in your preferred language

overview map

614
1
Jump to solution
11-19-2017 01:46 AM
anjelinaponkerat
Frequent Contributor

Hi

I,m going to change default overview expand factor, but it return error:


var overviewMapDijit = new OverviewMap({
map: map,
visible: true
expandfactor:4

});
overviewMapDijit.startup();

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Anjelina,

   Your error is because you forget a comma after the visible property.

var overviewMapDijit = new OverviewMap({
  map: map,
  visible: true,
  expandfactor: 4
});
overviewMapDijit.startup();

View solution in original post

1 Reply
RobertScheitlin__GISP
MVP Emeritus

Anjelina,

   Your error is because you forget a comma after the visible property.

var overviewMapDijit = new OverviewMap({
  map: map,
  visible: true,
  expandfactor: 4
});
overviewMapDijit.startup();