让bing地图全部铺设(Make bing maps streetch all the may)
我怎样才能让bing地图占据下面的所有位置。
第一行是名称第二行是姓氏:第三行是地图。
我希望bing map可以从第三行到最后一行。 地图应位于第1列和第2列
<!--LayoutRoot is the root grid where all page content is placed--> <Grid x:Name="LayoutRoot" Background="Transparent"> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> <!--TitlePanel contains the name of the application and page title--> <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28"> <TextBlock x:Name="ApplicationTitle" Text="MY APPLICATION" Style="{StaticResource PhoneTextNormalStyle}"/> <TextBlock x:Name="PageTitle" Text="page name" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/> </StackPanel> <!--ContentPanel - place additional content here--> <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <Grid.RowDefinitions> <RowDefinition Height="Auto"></RowDefinition> <RowDefinition Height="Auto"></RowDefinition> <RowDefinition Height="Auto"></RowDefinition> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="200"></ColumnDefinition> <ColumnDefinition Width="Auto"></ColumnDefinition> </Grid.ColumnDefinitions> <TextBlock Grid.Row="0" Grid.Column="0">First name:</TextBlock> <TextBlock Grid.Row="1" Grid.Column="0">Last name:</TextBlock> <TextBlock Grid.Row="0" Grid.Column="1">name</TextBlock> <TextBlock Grid.Row="1" Grid.Column="1">name</TextBlock> <my:Map Grid.Row="2" Grid.Column="1" Width="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" /> </Grid> </Grid>
How can I make that bing maps take all place below.
First row is name Second row is last name: Third name is map.
I want that bing maps takes everything from third row to all the way down. Maps should be in column 1 and column 2
<!--LayoutRoot is the root grid where all page content is placed--> <Grid x:Name="LayoutRoot" Background="Transparent"> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> <!--TitlePanel contains the name of the application and page title--> <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28"> <TextBlock x:Name="ApplicationTitle" Text="MY APPLICATION" Style="{StaticResource PhoneTextNormalStyle}"/> <TextBlock x:Name="PageTitle" Text="page name" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/> </StackPanel> <!--ContentPanel - place additional content here--> <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <Grid.RowDefinitions> <RowDefinition Height="Auto"></RowDefinition> <RowDefinition Height="Auto"></RowDefinition> <RowDefinition Height="Auto"></RowDefinition> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="200"></ColumnDefinition> <ColumnDefinition Width="Auto"></ColumnDefinition> </Grid.ColumnDefinitions> <TextBlock Grid.Row="0" Grid.Column="0">First name:</TextBlock> <TextBlock Grid.Row="1" Grid.Column="0">Last name:</TextBlock> <TextBlock Grid.Row="0" Grid.Column="1">name</TextBlock> <TextBlock Grid.Row="1" Grid.Column="1">name</TextBlock> <my:Map Grid.Row="2" Grid.Column="1" Width="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" /> </Grid> </Grid>
原文:https://stackoverflow.com/questions/20489442
满意答案
当您执行清除缓存时,Symfony会遭受同样的痛苦。 为了避免这个问题,我们预先加热了缓存。 考虑以下:
创建临时目录(确保设置正确的权限):cache_temp
添加代码以识别触发器。 如果触发器可用,则将cache dir设置为cache_temp(而不是cache_current)。 示例触发器通过http:http: //mydomain.com?prewarm=1
代码将知道在cache_temp中生成所有缓存文件而不是cache_current
将cache_current重命名为cache_old
将cache_temp重命名为cache_current
删除cache_old
Symfony suffers from this same affliction when you do a clear cache. To circumvent this issue we pre-warmed the cache. Consider the following:
Create temp directory (be sure to set correct permissions): cache_temp
Add code to recognize a trigger. If trigger is available set cache dir to cache_temp (instead of cache_current). Example trigger via http: http://mydomain.com?prewarm=1
The code will know to generate all cache files in cache_temp and not cache_current
Rename cache_current to cache_old
Rename cache_temp to cache_current
Delete cache_old
相关问答
更多以最少的停机时间部署Java webapps的最佳做法?(Best practices for deploying Java webapps with minimal downtime?)
如果日志文件有重复,请在日志文件中获取作业停机时间(Getting Job Downtime in a Logfile if it has a duplicate)
Azure VIP交换停机时间(Azure VIP Swap downtime)
如何监控(非零停机时间)Unicorn?(How do I monitor (non-zero-downtime) Unicorn?)
亚马逊RDS多可用区缩短停机时间(Amazon RDS Multi-AZ scaling downtime)
App Engine停机时间(App Engine downtime)
平面文件缓存,零停机时间(Flat file caching with zero downtime)
RAILS资产管道:“佣金资产:清洁”停机时间(以及避免它的方法)(RAILS assets pipeline: `rake assets:clean` downtime (and ways to avoid it))
我希望在CloudBees上实现零停机时间 - 但我的应用程序需要预热(I want zero downtime deploys on CloudBees - but my app needs to warm up)
AlwaysOn TDE和停机时间(AlwaysOn with TDE and Downtime)
相关文章
更多【云图】如何设置微信里的全国实体店地图?
【云图】如何制作附近实体店的地图?-微信微博支付宝
【云图】如何制作附近实体店的地图?-微信微博支付宝
[How to] Make custom search with Nutch(v 1.0)?(转)
地图编辑
小记 百度地图 soso地图 经纬度偏移
win8系统intellij输入中文问题
solr简介(二)
微信公众号怎么添加腾信地图?
android中如何实现双缓冲铺地图(卡马克算法)
最新问答
更多获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
如何通过引用返回对象?(How is returning an object by reference possible?)
矩阵如何存储在内存中?(How are matrices stored in memory?)
每个请求的Java新会话?(Java New Session For Each Request?)
css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
xcode语法颜色编码解释?(xcode syntax color coding explained?)
在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
Copyright ©2023 peixunduo.com All Rights Reserved.粤ICP备14003112号
本站部分内容来源于互联网,仅供学习和参考使用,请莫用于商业用途。如有侵犯你的版权,请联系我们(neng862121861#163.com),本站将尽快处理。谢谢合作!