of course the map constructor does need to be javascript, which raises the usage bar a bit.
On 11/23/2015 6:28 PM, Luis Miguel Morillas wrote: > Hi, David, > > Yes, this is the actual issue. The boundary should be shown all the time. > > I'm going to look at this map-constructor argument. > > > Saludos, > > -- luismiguel (@lmorillas) > > > 2015-11-24 0:18 GMT+01:00 David Karger <kar...@mit.edu>: >> Luis I'm not sure I understand the question. Do you want to show this >> boundary *all the time*, regardless of what filtering is done? If so, you >> might want to use the "map-constructor" argument to exhibit. The value of >> this argument should be the name of a function that exhibit should invoke in >> order to construct its map. This function will be called by Exhibit instead >> of google's map constructor (google.maps.Map(mapdiv, mapOptions) . Like >> that function, yours should accept a div (the element that should contain >> the map) and should return the same kind of map object as google.maps.Map >> does (you'll presumably call google.maps.Map somewhere inside your own >> specialized function). >> >> >> On 11/23/2015 02:58 PM, Luis Miguel Morillas wrote: >>> I want to show the boundary of a region in a map. All the items of the >>> dataset will be in this region. >>> >>> The Exhibit examples use the coordinates of the polygon as a new item, >>> but in our case, all the items share the same coordinates. Should I >>> harcode a kml layer in the google map? [1] >>> >>> This is our map without boundaries [2] and this is the polygon layer [3] >>> >>> [1] >>> https://developers.google.com/maps/documentation/javascript/examples/layer-kml >>> [2] http://area47mil.educa.aragon.es/visualizaciones/recursos.html >>> [3] http://lmorillas.github.io/exhibit_tests/ >>> >>> >>> >>> -- luismiguel (@lmorillas) >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "SIMILE Widgets" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to simile-widgets+unsubscr...@googlegroups.com. >> To post to this group, send email to simile-widgets@googlegroups.com. >> Visit this group at http://groups.google.com/group/simile-widgets. >> For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to simile-widgets+unsubscr...@googlegroups.com. To post to this group, send email to simile-widgets@googlegroups.com. Visit this group at http://groups.google.com/group/simile-widgets. For more options, visit https://groups.google.com/d/optout.