We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
`initMap = () => { let map = new ol_PerspectiveMap({ // let map = new Map({ target: "enteringDataMap", layers: [baseMap[0].layer], view: this.view, controls: new controlDefaults({ attribution: false, zoom: false }).extend( [new Attribution({ collapsible: true }), new ScaleLine()] ), interactions: new defaults({ dragbox: false, doubleClickZoom: false, draganddrop: true, }), });
const selectClick = new Select({ condition: click, style: new Style({ // 形状 image: new Circle({ radius: 5, fill: new Fill({ color: "#fff", }), stroke: new Stroke({ color: "#000", width: 1, }), }), }), }); map.addInteraction(selectClick); selectClick.on("select", (e) => { console.log(e.selected[0].values_, "e.target"); });`
My click event is not working
The text was updated successfully, but these errors were encountered:
PerspectiveMap is experimental and not working properly...
Sorry, something went wrong.
No branches or pull requests
`initMap = () => {
let map = new ol_PerspectiveMap({
// let map = new Map({
target: "enteringDataMap",
layers: [baseMap[0].layer],
view: this.view,
controls: new controlDefaults({ attribution: false, zoom: false }).extend(
[new Attribution({ collapsible: true }), new ScaleLine()]
),
interactions: new defaults({
dragbox: false,
doubleClickZoom: false,
draganddrop: true,
}),
});
My click event is not working
The text was updated successfully, but these errors were encountered: