hi yusron...
first,you have to know what happen when the facets list clicked.
this is what will happen (facets.js)
----
SimileAjax.WindowManager.registerEvent(dom.elmt,
"click",onSelectOnly , SimileAjax.WindowManager.getBaseLayer());
----
do.elmt is the Element, the Element on which to register the event
onSelectOnly is the handler, function, of the form function(elmt, evt,
target), to handle the event
so, if you want to add extra function,you can add it at onSelectOnly
function (list-facets.js)
var onSelectOnly = function(elmt, evt, target) {
self._filter(entry.value, entry.actionLabel, !(evt.ctrlKey
|| evt.metaKey));
SimileAjax.DOM.cancelEvent(evt);
//add your code or function here
return false;
};
i dont know how to get latlng to re-center function.
sorry if my answer was wrong..
i hope anyone can help with more answer..
On Aug 11, 2:17 pm, nube mania <[email protected]> wrote:
> hy guys, i want to ask.
> I want to implementrecenterin facet list. when a province/state will
> be selected torecenterthemap.
> is there anything that can help my problem?
>
> <div ex:role="facet" ex:expression=".prov"
> ex:facetLabel="Provinsi" ex:height="9em"></div>
>
> *sorry if my english language bad :)
--
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en.