Welcome
Welcome to the website of Velio Ivanov
Artem(BG) is the creative outlet of Velio Ivanov.
On this website you will find information about me, most of my recent personal projects, my custom visual studio project and item templates, code snippets and code for free download.
Recent Posts
-
GoogleMap Control using MarkerManager video
Hi, I have published a new short “HowTo” video about how to use MarkerManager with GoogleMap Control 4.1.
Check it out here.The background music is a track of the new upcoming album of my friend Svetlin Staykov – Slow Project.
I hope you enjoy both, video and music.
Regards
-
GoogleMap Control 4.1 beta released
I just released GoogleMap Control 4.1 beta.
Get it from codeplex, and give it a try.Release Notes
In this release were fixed some important issues like: large number of markers using geocoding, zoom end event cycling etc.
Some new features were implemented as well, check out the list below.
I would like to highlight the proper implementation of Marker Manager coming in this release.
Check out the list of changes connected with that feature below.Issues
- Large number of markers using geocoding
- ZoomEnd event subscribing problems
Features
- MarkerManager - MarkerManager is used to manage visibility of hundreds of markers on a map, based on the map's current viewport and zoom level.
- The GoogleMaps API GMarkerManager class is deprecated and I have used the recommended open sourced MarkerManager instead.
- I have added a new inner property MarkerManagerOptions in order to manager the options for the marker manager.
- GoogleMarker class was changed and couple of new properties were added to it to: MaxZoom and MinZoom.
- A sample page was added to Samples Website under /marker/MarkerManager.aspx. Check the sample page online here
- Check out the short demo video (coming soon)
- Map
- Directions
- Polygon
Changes
- The Anonymous JS classes' functions were changed to Pseudo-Named functions for better JS debug and error feedback experience.
- Samples Websites for .NET 2.0 and VB were removed - Sorry, guys, I just have no enough time to support and keep them up to date.
Regards
-
GoogleMap Control JS with Pseudo-Named functions now
I’m working recently on next release of GoogleMap Control v4.1.
As I have mentioned - I’m switching from anonymous to pseudo-named JS function for that release.
All the effort made, was for a better JS debug and error feedback experience.At least, that’s the theory.
However, today I did some work on the control again and had a chance in practice to prove I was right.
I got some JS error during my work, but the information I have now in the call stack is much more useful than just a list of anonymous function.Here is a simple example of what I mean:
In this particular case, I just mismatch the functions’ bodies
, but you get the idea, right.Regards
-
Generic extension method for a safe item value fetch from HttpSessionState.
Hi there,
Here is an extension method for getting a value from the session in a safe manner.
The usage is simple like:1: static public bool TryGet<T>(this HttpSessionState session, string key, out T value) {
2:3: bool flag = false;
4: value = default(T);
5:6: if (session != null) {
7: object objectValue = session[key];
8: if (flag = (objectValue != null && objectValue is T)) value = (T)objectValue;
9: }10:11: return flag;
12: }1: bool flag;
2: if(this.Page.Session.TryGet<bool>("MyFlag", out flag)) {
3: // TODO value exists and can be used
4: }Regards
-
GoogleMap Control 4.0 released
This release comes with a lot of new features like: StreetView; Reverse Geocoding; better AddressNotFound support; MarkerStyle for general way to manage the “Look&Feel” of markers; markers InfoWindow extensions and improvements; extended event handling; improved disposing and persistence; etc.
New Features
(For a full list check out GoogleMap Control 4.0 beta as well)- MarkerStyle inner property of GoogleMap control is now available to master in more general way the "Look&Feel" of all the markers.
- It will for example simplify the way to set custom icon to all the markers in one place.
- InfoContent now provides a default implementation of container control for marker's info window content
- The InfoContent behaves just like a control container. You can use its Controls property to add whatever controls you like to the marker's InfoWindow content.
- Check out the online video
- StreetView support added
- IsStreetView property to switch the GoogleMap control to StreetView;
- StreetViewMode property to switch between Panorama and Overlay mode
- StreetViewPanoID property to point to a DOM element by ID, where StreetView to be shown on map click when Overlay mode is selected, if this is not set, the control will render out an DIV to be use just bellow the google map;
- Check out this online sample page StreetView
- GoogleMapView is extended with the new map types: Satellite3D, MapMakerNormal, MapMakerHybrid
Changes
(For a full list check out GoogleMap Control 4.0 beta as well)- JSON improvements and improved Markers persistence during the post back
- InfoWindowContent property of GoogleMarker was renamed to InfoWindowTemplate
- ImageUrl property of GoogleMarker was renamed to IconUrl;
ASP.NET 2.0 Issues
- SampleWebSite2.0 was added for running the GoogleMap control samples under ASP.NET 2.0
- MarkerStyle inner property of GoogleMap control is now available to master in more general way the "Look&Feel" of all the markers.
