The event is MapClick and MapDoubleClick. When clicking on a marker the args.Marker property will have the marker ID.
You can add the polygon drawing to the source code published here https://wisej.com/extensions. It’s quite easy to add a function in startup.js and the mapping in C#. See CenterMap() and AddMarker() as examples. Let me know if you add functionality to the extension and we can publish your additions.
I will also add some polygon examples in the next few days.
Best,
Luca
Hi Luca,
Yes, that’s exactly what I asked for. Thank you! I has locked in the point I was not able to change animation name from GUI.
Please help me in another 3 issues (you know, the first steps are the hardest; I promise that in 1 months I’ll have much more difficult ones but less often):
Thank you,
Adrian
When the application is terminated and the session is disposed Wisej client calls Wisej.onExit. The default implementation is window.close() – which doesn’t work in most browsers and the tab is not closed unless it’s the one created by VS in debug mode.
You can control what to do easily by adding your function. You can do it in Default.html:
<script>
Wisej.onExit = function () {
alert("Sorry, the app has been closed!");
location.reload();
};
</script>
The example above shows an alert and then reloads the application, in which case you’d get a new login form if your app starts like that. But you may navigate to a custom html page or anywhere else. You can even start a new different Wisej app, or pass custom arguments with the URL.
Do you mean the animation extender?
See attached sample. It shows a page with 2 animation extenders. When you add an extender, all controls on a container gain new properties. In this case you will see that all controls now have 2 (because I added it twice) new “Animation” properties. You can select the type of animation and the event that triggers it. You can also run an animation programmatically using this.animation1.Run(control).
There are few predefined animations. You can add custom animations to the CustomAnimations collection on the animation extender. There is a bug now that prevents the serialization of the custom animation by the designer – it will be fixed in the next release. But you can add custom animations by code. See the sample attached.
I have added the “Splat” animation from this key frame generator: http://bouncejs.com/ You can use any css3 frame generator, however the CSS3 notation has to be changed to a JSON notation for Wisej to use it.
HTH
Apparently that download button is a new feature added by Chrome 55. It cannot be removed by code, you can try to add a CSS style like the one in this post:
https://productforums.google.com/forum/#!topic/chrome/1WXSi6BzK9M
You can add it to the Default.html page using the <style> element or add a css file.
Thanks, it’s a bug. For a quick easy patch, add this script to Default.html in <body>.
It patches the TabPage class overriding the destroy method.
<script>
Wisej.onLoad = function () {
qx.Mixin.define("MTabControlTempFix", {
members: {
destroy: function () {
this.setParent(null);
this.base(arguments);
}
}
});
qx.Class.patch(wisej.web.tabcontrol.TabPage, MTabControlTempFix);
}
</script>
Hi Luca,
I also noticed that the download button is not available in other browsers. I would try you suggestion.
Thanks.
Just put it into the center on the page in the designer and change the anchor of the groupbox to none.
Unfortunately it’s impossible with javascript to change the browser’s zoom level. You can set the CSS3 “zoom” property on document.body but it’s a different thing.
Usually with mobiles it’s better to use the viewport meta tag https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag. Add it to Default.html to determine the resolution and viewport on mobile devices.
Yes, but you also need to purchase a Wisej web server license for each server. 🙂
Luca,
This is awesome! Works like a champ. Good job.
Ouch !! I misunderstood the ClearSelected, my wrong.. 🙂
Icon packs should work correctly now also at design time.
You should also find 3 additional icon packs under the extensions: MaterialDesign, ModerUI and ElegantIcons.
![]()
ListBox.ClearSelected() is the same as ListBox.SelectedIndex = -1. It removes the selected item, not the checked ones. The CheckedListBox can have 1 selected item and multiple checked items.
To uncheck all items you need to call SetItemChecked(), as you already did. Consider that an app may override the state of an item processing OnItemCheck and changing the state.
It uses the browser’s built-in speech recognition api: https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition
Yep, we pulled 22 few minutes ago. Sorry about that, it fails to load resources when the app is deployed in a sub directory. The new build is going online in few minutes. Unfortunately regression testing on an IIS deployment wasn’t part of the tests, it is now.
Yes, Italian. We also have Germans, Austrians and Danish. 🙂
For the ISV price lise: https://wisej.com/isv-plans/
The renewal is online. However, you can renew on a build machine and update the wisej-server.lic file that is added to the deployment to support servers without an internet connection and embedded systems.
There are a couple of ways to deploy on Azure. Wisej works with all of them. When you use the Web Site option and Azure takes over the scaling you get multiple activations which is okay with Wisej.
You can contact me directly at gianluca[at]iceteagroup.com.
Can I have details about ISV pricing?
Is the renewal managed by internet connection ?
maybe it’s a problem on customer that in production can’t allowed server to internet connection.
On azure web app I don’t have direct access on IIS server and when I scale out the deploy is managed by azure on differente server.
How can I handle the wisej activation ?
Thanks
ps. Luca is like italian name. Are you italian?
The server license is only for deployments in production. It’s not checked with /localhost.
An Azure or AWS or other clouds you need one server license for each server instance. We have ISV pricing and unlimited distribution options. The renewal of a license is 50%, more or less in line with Telerik. The renewal is managed “silently”, meaning that you don’t need to reinstall or redeploy – Wisej detects automatically that a license has been renewed and updates the machine.
Also, Wisej will never stop a server, at the most you get an alert popup.
