P
P
Preci2017-12-24 20:43:24
Python
Preci, 2017-12-24 20:43:24

Yandex.Maps API how to show a standard balloon when opening a map?

Hello!
There is a site https://goo.gl/R4z5Fn if you click on the "Show map" button, the map will appear and then when you click on the route, a standard balloon pops up.
Question: is it possible to somehow show this balloon when opening the map? those. so that you do not have to click on the route

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sergeo1, 2019-10-18
@sergeo1

@client.command(pass_context=True)
async def help(ctx):
 author = ctx.message.author

 embed = discord.Embed(
 	colour = discord.Color.orange()
 	)


 embed.set_author(name = 'Help')
 embed.add_field(name='.ping', value='Returns Pong', inline=False)

 await ctx.channel.send(embed=embed)
либо await ctx.author.send(embed=embed)

Why didn't your code work? It's simple
Client.send_message - used in an obsolete version of discord.py

F
freeExec, 2017-12-24
@freeExec

Write this show when the map is ready
https://tech.yandex.ru/maps/doc/jsapi/2.0/dg/conce...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question