address feedback from pr

This commit is contained in:
Bernd Hacker
2017-07-06 08:31:13 +02:00
parent a487f0436e
commit c56337307a

View File

@@ -4496,7 +4496,7 @@ declare namespace H {
*/
createDefaultLayers(opt_tileSize?: (H.service.Platform.DefaultLayersOptions | number), opt_ppi?: number,
opt_lang?: string, opt_secondaryLang?: string, opt_style?: string,
opt_pois?: (string | boolean)): H.service.DefaultLayers;
opt_pois?: (string | boolean)): H.service.Platform.MapTypes | H.service.DefaultLayers;
/**
* This method returns an instance of H.service.RoutingService to query the Routing API.
@@ -5694,7 +5694,7 @@ declare namespace H {
* @param opt_locale {(H.ui.i18n.Localization | string)=} - the language to use (or a full localization object).
* @returns {H.ui.UI} - the UI instance configured with the default controls
*/
static createDefault(map: H.Map, mapTypes: H.service.MapType | H.service.DefaultLayers, opt_locale?: H.ui.i18n.Localization | string): H.ui.UI;
static createDefault(map: H.Map, mapTypes: H.service.Platform.MapTypes | H.service.MapType | H.service.DefaultLayers, opt_locale?: H.ui.i18n.Localization | string): H.ui.UI;
/**
* This method is used to capture the element view