This is a migrated thread and some comments may be shown as answers.

Maplayers are missing while using a custom provider

1 Answer 57 Views
Map
This is a migrated thread and some comments may be shown as answers.
Martijn
Top achievements
Rank 1
Martijn asked on 15 Sep 2010, 09:42 AM
Hi,

Lately, I made a custom map provider class to use ArcGis tile web service. 
The map runs fine but the the information/dynamic layers are missing/not showing. 
Also the navigation control is missing while it is set on visible. 
Did I forgot anything specific or do you know a way to fix this?

Kind Regards,

Martijn

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 17 Sep 2010, 02:48 PM
Hi Martijn,

It is a bit difficult to answer your question without reviewing the code of your custom map provider, but I would suppose that you don't call base.IsInitialized property in the Initialize method of your ArcGis map provider. It is important to call this property, because a lot of initialization things are going here.

The minimal code for this method looks like this:

/// <summary>
/// Initialize provider.
/// </summary>
public override void Initialize()
{
    this.initialized = base.IsInitialized;
}



Sincerely yours,
Andrey Murzov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Map
Asked by
Martijn
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or